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