1
This commit is contained in:
@@ -62,13 +62,13 @@ public class SingleTouchPlayAnimator : MonoBehaviour
|
||||
SetTriggerParameter("DisTrigger");
|
||||
if (Vfx != null)
|
||||
{
|
||||
Destroy(Vfx);
|
||||
Vfx = null;
|
||||
|
||||
|
||||
Vfx.transform.localScale = Vector3.zero;
|
||||
}
|
||||
if (Vfx1 != null)
|
||||
{
|
||||
Destroy(Vfx1);
|
||||
Vfx1 = null;
|
||||
Vfx1.transform.localScale = Vector3.zero;
|
||||
}
|
||||
animator.Play("Touch");
|
||||
animatorpig.Play("Touch");
|
||||
|
||||
@@ -74,14 +74,13 @@ public class TouchPlayAnimatior : MonoBehaviour
|
||||
}
|
||||
}
|
||||
[Header("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
|
||||
[SerializeField] private Object childAnimator; // ֱ<><D6B1><EFBFBD>϶<EFBFBD><CFB6><EFBFBD>
|
||||
[SerializeField] private GameObject childAnimator; // ֱ<><D6B1><EFBFBD>϶<EFBFBD><CFB6><EFBFBD>
|
||||
|
||||
public void SetTriggerParameter(string parameterName)
|
||||
{
|
||||
if (childAnimator != null)
|
||||
{
|
||||
Destroy(childAnimator);
|
||||
childAnimator = null;
|
||||
childAnimator.transform.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
void ShowFont()
|
||||
|
||||
Reference in New Issue
Block a user