targetspawnerbase - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Minigames.Archery.TargetSpawner
Inherits from UnityEngine.MonoBehaviour
Abstract class representing a spawner for the archery game logic providing an interface for spawning and passing the ScoreManagers to the spawned targets.
public abstract class TargetSpawnerBase : MonoBehaviour| Name | Description |
|---|---|
| AddScoreManager(ScoreManager) | Adds another score manager. There can be multiple, but duplicates will be filtered. |
| CreateNewTarget() | Creates a new target. |
| RemoveScoreManager(ScoreManager) | Removes a score manager. |
| StartSpawning() | Starts spawning new target(s). |
| StopSpawning() | Stops spawning target(s). |