1
This commit is contained in:
@@ -20,7 +20,7 @@ public class PlayJiaGuAnimator : MonoBehaviour
|
||||
public AudioSource audio_HuiDa;
|
||||
public GameObject audio_Wen;
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾʱ<CABE><CAB1>
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾʱ<CABE><CAB1>
|
||||
bool oneIsRun = false;
|
||||
float oneWaitTime = 26f;
|
||||
float oneRunTime = 0;
|
||||
@@ -40,7 +40,7 @@ public class PlayJiaGuAnimator : MonoBehaviour
|
||||
{
|
||||
oneIsRun = false;
|
||||
oneRunTime = 0;
|
||||
if (font != null) //<2F><>ʾ<EFBFBD><CABE>
|
||||
if (font != null) //<2F><>ʾ<EFBFBD><CABE>
|
||||
font.PlayShowJGWFont();
|
||||
if (animatorJiaGu != null)
|
||||
animatorJiaGu.SetActive(false);
|
||||
@@ -49,14 +49,15 @@ public class PlayJiaGuAnimator : MonoBehaviour
|
||||
}
|
||||
}
|
||||
}
|
||||
[Header("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
|
||||
[SerializeField] private List<GameObject> childAnimator; // ֱ<><D6B1><EFBFBD>϶<EFBFBD><CFB6><EFBFBD><EFBFBD><EFBFBD>
|
||||
[Header("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
|
||||
[SerializeField] private List<GameObject> childAnimator; // ֱ<><D6B1><EFBFBD>϶<EFBFBD><CFB6><EFBFBD>
|
||||
|
||||
public void SetTriggerParameter(string parameterName)
|
||||
{
|
||||
for (int i = 0; i < childAnimator.Count; i++)
|
||||
{
|
||||
Destroy(childAnimator[i]);
|
||||
childAnimator[i] = null;
|
||||
}
|
||||
}
|
||||
private void OnTriggerEnter(Collider other)
|
||||
@@ -66,6 +67,7 @@ public class PlayJiaGuAnimator : MonoBehaviour
|
||||
if (listAnimator != null)
|
||||
{
|
||||
SetTriggerParameter("DisTrigger");
|
||||
SceneMgr.Instance.isTrigger=true;
|
||||
for (int i = 0; i < listAnimator.Count; i++)
|
||||
{
|
||||
if (HandType == 1)
|
||||
@@ -80,7 +82,7 @@ public class PlayJiaGuAnimator : MonoBehaviour
|
||||
}
|
||||
}
|
||||
oneIsRun = true;
|
||||
GlobalEventMgr.Dispatch(GameEvent.EventHideTuchJiaGu); //ֻ<><D6BB><EFBFBD><EFBFBD>һ<EFBFBD>Σ<EFBFBD><CEA3>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>еĿɴ<C4BF><C9B4><EFBFBD><EFBFBD><EFBFBD><D7B9><EFBFBD>ײ
|
||||
GlobalEventMgr.Dispatch(GameEvent.EventHideTuchJiaGu); //ֻ<><D6BB><EFBFBD><EFBFBD>һ<EFBFBD>Σ<EFBFBD><CEA3>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>еĿɴ<C4BF><C9B4><EFBFBD><EFBFBD><EFBFBD><D7B9><EFBFBD>ײ
|
||||
if (audio_HuiDa != null)
|
||||
{
|
||||
audio_HuiDa.Play();
|
||||
|
||||
Reference in New Issue
Block a user