// Function to set the last spawnpoint that was activated public void SetSpawner(BallSwitch spawner) { _lastSpawn = spawner; }
protected void OnEnable() { targetBallSwitch = target as BallSwitch; targetTransform = targetBallSwitch.transform; }