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