Example #1
0
    private void Start()
    {
        GameController.instance.AddEnemyToList(this);

        blocker = GetComponent <SingleNodeBlocker>();

        blocker.BlockAtCurrentPosition();

        movingToPoint.parent = null;

        CalculateObstacles();
    }
Example #2
0
 void Start()
 {
     blocker.BlockAtCurrentPosition();
 }
Example #3
0
 void Start()
 {
     blocker = GetComponent <SingleNodeBlocker>();
     blocker.BlockAtCurrentPosition();
 }
 public void UpdateBlocker()
 {
     blocker.BlockAtCurrentPosition();
 }
Example #5
0
 void Start()
 {
     // Make sure the door starts out blocked
     blocker.BlockAtCurrentPosition();
     animator.CrossFade("close", 0.2f);
 }