using System.Collections; using System.Collections.Generic; using UnityEngine; public class AnimationTrigger : MonoBehaviour { Animator ani; private void Awake() { ani = GetComponent(); } public void WhiteToNormal() { ani.Play("WhiteToNormal", 1, 0); } public void TurnNormal() { ani.Play("Normal", 1, 0); } }