Simple IAP System  4.3
Classes | Public Member Functions | Public Attributes | Protected Attributes | Properties | List of all members
VRInteractiveItem

This class should be added to any gameobject in the scene that should react to input based on the user's gaze. It contains events that can be subscribed to by classes that need to know about input specifics to this gameobject. More...

Inheritance diagram for VRInteractiveItem:

Classes

class  Vector2Event
 

Public Member Functions

void Over ()
 
void Out ()
 
void Click ()
 
void DoubleClick ()
 
void Up ()
 
void Down ()
 
void Swipe (Vector2 dir)
 
void InvokeSelectable ()
 

Public Attributes

UnityEvent OnOver
 
UnityEvent OnOut
 
UnityEvent OnClick
 
UnityEvent OnDoubleClick
 
UnityEvent OnSelectionComplete
 
UnityEvent OnUp
 
UnityEvent OnDown
 
Vector2Event OnSwipe
 

Protected Attributes

bool m_IsOver
 

Properties

bool IsOver [get]
 

Detailed Description

This class should be added to any gameobject in the scene that should react to input based on the user's gaze. It contains events that can be subscribed to by classes that need to know about input specifics to this gameobject.

Member Function Documentation

void Click ( )
void DoubleClick ( )
void Down ( )
void InvokeSelectable ( )
void Out ( )
void Over ( )
void Swipe ( Vector2  dir)
void Up ( )

Member Data Documentation

bool m_IsOver
protected
UnityEvent OnClick
UnityEvent OnDoubleClick
UnityEvent OnDown
UnityEvent OnOut
UnityEvent OnOver
UnityEvent OnSelectionComplete
Vector2Event OnSwipe
UnityEvent OnUp

Property Documentation

bool IsOver
get

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