void Start() { act = GetComponentInParent <ActControlFourFace>(); if (ani == null) { ani = transform.GetComponent <Animator>(); } }
void Start () { act=GetComponentInParent<ActControlFourFace>(); if(ani==null)ani=transform.GetComponent<Animator>(); }