Simple IAP System  4.3
Public Member Functions | Public Attributes | List of all members
VRSelectionRadial

This class is used to control a radial bar that fills up as the user holds down the Fire1 button. When it has finished filling it triggers an event. It also has a coroutine which returns once the bar is filled. More...

Inheritance diagram for VRSelectionRadial:

Public Member Functions

void Show ()
 Show the selection radial when interaction is needed. More...
 
void Hide ()
 Hide the selection radial when leaving an UI element that can be interacted with. More...
 

Public Attributes

float m_SelectionDuration = 2f
 
bool m_HideOnStart = true
 
Image m_Selection
 
VRInput m_VRInput
 
VREyeRaycaster m_VREyeRaycaster
 

Detailed Description

This class is used to control a radial bar that fills up as the user holds down the Fire1 button. When it has finished filling it triggers an event. It also has a coroutine which returns once the bar is filled.

Member Function Documentation

void Hide ( )

Hide the selection radial when leaving an UI element that can be interacted with.

void Show ( )

Show the selection radial when interaction is needed.

Member Data Documentation

bool m_HideOnStart = true
Image m_Selection
float m_SelectionDuration = 2f
VREyeRaycaster m_VREyeRaycaster
VRInput m_VRInput

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