-
-
Notifications
You must be signed in to change notification settings - Fork 2
Target Area Triggerer
eisclimber edited this page Feb 11, 2024
·
2 revisions
class in ExPresSXR.Minigames.SwordCleaning / Extends UnityEngine.MonoBehaviour
Component added via Component Menu
Triggers Target Areas that are set as target and tracks the progress of triggering all targets.
Should be attached to the GameObject holding the Collider that is used as a trigger.
-
TargetArea[] targets
: The TargetAreas that are required to be completed. -
bool _setupOnAwake
: The number of targets to be completed. Default:true
-
bool _emitEventsExclusively
: If enabled all events each of the three events below will be called mutually exclusive. This prevents errors when using these for different haptic feedbacks. Default:true
-
int numTargets
: (Readonly) How many targets are available/required for this TargetAreaTriggerer.
-
void SetupTargets()
: Connects this to the TagetAreas in _targets.
-
OnTargetAreaActionPerformed
: If an action was performed on a valid TargetArea. -
OnSingleTargetCompleted
: If a single TargetArea was completed but not all. -
OnSingleTargetCompleted
: If a all TargetAreas were completed.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI