Simple IAP System  4.3
Public Types | Properties | Events | List of all members
VRInput

This class encapsulates all the input required for most VR games. It has events that can be subscribed to by classes that need specific input. This class must exist in every scene and so can be attached to the main camera for ease. More...

Inheritance diagram for VRInput:

Public Types

enum  SwipeDirection {
  NONE, UP, DOWN, LEFT,
  RIGHT
}
 Swipe directions supported. More...
 

Properties

float DoubleClickTime [get]
 

Events

Action< SwipeDirectionOnSwipe
 
Action OnClick
 
Action OnDown
 
Action OnUp
 
Action OnDoubleClick
 
Action OnCancel
 

Detailed Description

This class encapsulates all the input required for most VR games. It has events that can be subscribed to by classes that need specific input. This class must exist in every scene and so can be attached to the main camera for ease.

Member Enumeration Documentation

enum SwipeDirection
strong

Swipe directions supported.

Enumerator
NONE 
UP 
DOWN 
LEFT 
RIGHT 

Property Documentation

float DoubleClickTime
get

Event Documentation

Action OnCancel
Action OnClick
Action OnDoubleClick
Action OnDown
Action<SwipeDirection> OnSwipe
Action OnUp

The documentation for this class was generated from the following file: