ManoMotion Unity SDK 2.0
SDK documentation
Loading...
Searching...
No Matches
ManoMotion.Instructions.ContinuousRequirement Class Reference

ScriptableObject instruction requirement for continuous gestures.

Inheritance diagram for ManoMotion.Instructions.ContinuousRequirement:
ManoMotion.Instructions.InstructionRequirement

Public Member Functions

override bool IsFulfilled ()
 Returns true if the requirement has been fulfilled, can make Update checks in here too.
 
override void Start ()
 Initializes the requirement to start tracking the process.
 
override void Stop ()
 Stops the requirement from tracking the process.
 

Private Attributes

ManoGestureContinuous continuousGesture
 
float requiredTimeSpent
 
float timeSpent = 0
 

Member Function Documentation

◆ IsFulfilled()

override bool ManoMotion.Instructions.ContinuousRequirement.IsFulfilled ( )
inlinevirtual

◆ Start()

override void ManoMotion.Instructions.ContinuousRequirement.Start ( )
inlinevirtual

◆ Stop()

override void ManoMotion.Instructions.ContinuousRequirement.Stop ( )
inlinevirtual

Member Data Documentation

◆ continuousGesture

ManoGestureContinuous ManoMotion.Instructions.ContinuousRequirement.continuousGesture
private

◆ requiredTimeSpent

float ManoMotion.Instructions.ContinuousRequirement.requiredTimeSpent
private

◆ timeSpent

float ManoMotion.Instructions.ContinuousRequirement.timeSpent = 0
private