Пример #1
0
 // Function to set the last spawnpoint that was activated
 public void SetSpawner(BallSwitch spawner)
 {
     _lastSpawn = spawner;
 }
Пример #2
0
 protected void OnEnable()
 {
     targetBallSwitch = target as BallSwitch;
     targetTransform  = targetBallSwitch.transform;
 }