targetspawnerbase - eisclimber/ExPresS-XR GitHub Wiki

TargetSpawnerBase

Class in ExPresSXR.Minigames.Archery.TargetSpawner

Inherits from UnityEngine.MonoBehaviour

Summary

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

Methods

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).
⚠️ **GitHub.com Fallback** ⚠️