Exemple #1
0
 void Awake()
 {
     anim       = GetComponent <Animator>();
     botUtility = GetComponentInParent <BotUtility>();
     health     = botUtility.GetComponent <PlayerHealth>();
     ammo       = botUtility.GetComponentInChildren <PlayerAmmo>();
 }