boxingtargetrandomizer - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Minigames.Boxing
Inherits from UnityEngine.MonoBehaviour
Randomly activates one of the BoxingTargetAreas.
public class BoxingTargetRandomizer : MonoBehaviour| Name | Description |
|---|---|
| OnTargetActivate | Emitted when a new target is activated providing the index of the activated target. |
| 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. |
| Name | Description |
|---|---|
| AutoStart | If the randomization should start automatically. |
| Targets | Targets to randomize. |