Пример #1
0
 private void OffRange(RangeDetector d)
 {
     rampart = d.GetRampart();
     movementBehaviour.enabled = true;
     movementBehaviour.SetCanMove(true);
 }
Пример #2
0
 private void OnRange(RangeDetector d)
 {
     rampart = d.GetRampart();
     movementBehaviour.SetCanMove(false);
 }