boxingtargetrandomizer - eisclimber/ExPresS-XR GitHub Wiki

BoxingTargetRandomizer

Class in ExPresSXR.Minigames.Boxing

Inherits from UnityEngine.MonoBehaviour

Summary

Randomly activates one of the BoxingTargetAreas.

public class BoxingTargetRandomizer : MonoBehaviour

Fields

Name Description
OnTargetActivate Emitted when a new target is activated providing the index of the activated target.

Methods

Name Description
DeactivateAllTargets() Forcefully deactivates all targets. No events will be emitted.
SetTargetsVisible(bool) Controls the visibility of all targets
StartTargetRandomization() Starts randomization.
StopTargetRandomization(bool) Stops randomization.

Properties

Name Description
AutoStart If the randomization should start automatically.
Targets Targets to randomize.
⚠️ **GitHub.com Fallback** ⚠️