Example #1
0
 private void OnValidate()
 {
     if (useSelf)
     {
         mover    = GetComponent <MovemonetHarness>();
         attacker = GetComponent <AttackHandeler>();
     }
 }
Example #2
0
 protected void Awake()
 {
     decisionLoop.onTick += Tick;
     mover = GetComponent <MovemonetHarness>();
 }