上阵角色音效
parent
0d9dca892a
commit
1779d87680
BIN
ProjectNLD/Assets/Art/UI/Fonts/SourceHanSansCN-Medium SDF.asset (Stored with Git LFS)
BIN
ProjectNLD/Assets/Art/UI/Fonts/SourceHanSansCN-Medium SDF.asset (Stored with Git LFS)
Binary file not shown.
|
|
@ -166,7 +166,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4315010884850372407
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -707,7 +707,7 @@ public class Team
|
|||
/// </summary>
|
||||
/// <param name="idx">角色在队伍中的索引</param>
|
||||
/// <param name="id">角色ID</param>
|
||||
public void DoCharacterUp(int idx, uint id = 0)
|
||||
public async void DoCharacterUp(int idx, uint id = 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -738,6 +738,8 @@ public class Team
|
|||
_unitIDs[idx] = id;
|
||||
//DebugUtil.LogError("在{0}位置换成{1}", idx, id);
|
||||
|
||||
AudioManager.Instance.PlayAudio(Framework.Constants.Sound.TEAM_INFO_CLICK);
|
||||
await UniTask.WaitForSeconds(0.3f);
|
||||
AudioManager.Instance.StopAllSpeaks();
|
||||
DialogueManager.Instance.PlayDiaogue((int)id, cfg.DialogueCfg.E_DialogueType.FightChoose);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue