예제 #1
0
    // Use this for initialization
    void Start()
    {
        gdf = GameObject.Find("gDogFight").GetComponent <gDogFight>();
//		animator = this.GetComponent<Animator>();
    }
예제 #2
0
 void Awake()
 {
     gdf = GameObject.FindObjectOfType(typeof(gDogFight)) as gDogFight;
 }