Exemple #1
0
 public override void SearchReferences()
 {
     if (seachingMines == null)
     {
         seachingMines = GetComponent <SearchingMine>();
     }
     if (mining == null)
     {
         mining = GetComponent <Mining>();
     }
     if (depositing == null)
     {
         depositing = GetComponent <Depositing>();
     }
     if (moving == null)
     {
         moving = GetComponent <Moving>();
     }
     if (characterController == null)
     {
         characterController = GetComponent <CharacterController>();
     }
 }
Exemple #2
0
 public override void SearchReferences()
 {
     miner         = GetComponent <Miner>();
     searchingMine = GetComponent <SearchingMine>();
 }