// Use this for initialization void Start() { if (GameObject.Find("HeroesBase")) { HeroesBaseComp = GameObject.Find("HeroesBase").GetComponent <HeroesBase> (); } //GetComponent<Pawn> ().Name = Name; }
// Use this for initialization void Start() { if (GameObject.Find("HeroesBase")) { HeroesBaseComp = GameObject.Find("HeroesBase").GetComponent <HeroesBase> (); } //GetComponent<Pawn> ().Name = Name; }