using System.Collections; using System.Collections.Generic; using UnityEngine; public class huiliuanimator : MonoBehaviour { public Animator huiliu; private bool first =true; // Start is called before the first frame update void Start() { first = true; } // Update is called once per frame void Update() { } public void openanim() { if (first == true) { huiliu.Play("»γΑχΟδ"); first = false; } } }