Exemplo n.º 1
0
 // Use this for initialization
 new void Start()
 {
     base.Start();
     anim          = GetComponent <Animator>();
     player        = GameObject.Find("Player");
     combatHandler = GameObject.Find("GameRules").GetComponent <CombatHandler>();
     combatHandler.AddEnemy(this);
     localScale = transform.localScale;
 }