Click or drag to resize

WandManager Class

The component responsible for tracking wand instances, and dispatching actions based on the UI state and the input received from the wands.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          RavingBots.MagicGestures.UtilsMonoSingletonWandManager
            RavingBots.MagicGestures.ControllerWandManager

Namespace:  RavingBots.MagicGestures.Controller
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class WandManager : MonoSingleton<WandManager>

The WandManager type exposes the following members.

Constructors
  NameDescription
Public methodWandManager
Construct a new instance.
Top
Properties
  NameDescription
Public propertyMenuMode
if the menu is open.
Top
Methods
  NameDescription
Private methodOnAdded
Called when a new wand is registered.
Public methodOnGesture
Called after the user performs a gesture.
Public methodOnMenuButton
Called when the user presses the menu button on the controller.
Public methodRecognize
Try to recognize the performed gesture.
Top
Events
  NameDescription
Public eventOnGestureEvent
Raised when the user performs a gesture.
Public eventOnGestureNotRecognizedEvent
Raised when the performed gesture is not recognized by the network.
Public eventOnGestureRecognizedEvent
Raised when the performed gesture is recognized by the network.
Public eventOnMenuButtonEvent
Raised when the menu button is pressed.
Top
Fields
  NameDescription
Private field_menuMode
if the menu is open.
Public fieldRecognizeMirroredGestureX
Set to if gestures should be mirrored on the X-axis before recognition.
Public fieldWands
The registered wands.
Top
See Also