コード例 #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;
 }