private void Start() { GameController.instance.AddEnemyToList(this); blocker = GetComponent <SingleNodeBlocker>(); blocker.BlockAtCurrentPosition(); movingToPoint.parent = null; CalculateObstacles(); }
void Start() { blocker.BlockAtCurrentPosition(); }
void Start() { blocker = GetComponent <SingleNodeBlocker>(); blocker.BlockAtCurrentPosition(); }
public void UpdateBlocker() { blocker.BlockAtCurrentPosition(); }
void Start() { // Make sure the door starts out blocked blocker.BlockAtCurrentPosition(); animator.CrossFade("close", 0.2f); }