예제 #1
0
 void Start()
 {
     act = GetComponentInParent <ActControlFourFace>();
     if (ani == null)
     {
         ani = transform.GetComponent <Animator>();
     }
 }
예제 #2
0
	void Start () 
	{
		act=GetComponentInParent<ActControlFourFace>();
		if(ani==null)ani=transform.GetComponent<Animator>();
	}