Пример #1
0
 private void CheckFreeShadow()
 {
     if (patrolman.CanPatrolmanGetNewPoint())
     {
         if (playerPatrolPoint)
         {
             patrolman.SetPatrolPoint(playerPatrolPoint, 0);
         }
     }
 }
Пример #2
0
 private void Start()
 {
     patrolman = GetComponent <Patrolman>();
     if (playerPatrolPoint)
     {
         patrolman.SetPatrolPoint(playerPatrolPoint, 0);
     }
 }