VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
AVR.UI.Utils.AVRUI_InputField_PlusMinus Class Reference

Inputfield that the value of which can be increased/decreased by function call. The value of the inputfield ought to be numerical. More...

Inheritance diagram for AVR.UI.Utils.AVRUI_InputField_PlusMinus:
AVR.Core.AVR_Behaviour

Public Member Functions

void increase_value ()
 
void decrease_value ()
 
- Public Member Functions inherited from AVR.Core.AVR_Behaviour
virtual void OnDestroy ()
 

Public Attributes

float increase_amount = 0.1f
 
float decrease_amount = 0.1f
 
bool allowNegative = true
 

Private Member Functions

void Awake ()
 

Private Attributes

InputField input
 
TMPro.TMP_InputField input_tmp
 

Additional Inherited Members

- Protected Attributes inherited from AVR.Core.AVR_Behaviour
AVR_PlayerRig playerRig => AVR_PlayerRig.Instance
 The current AVR_PlayerRig instance in the scene More...
 
AVR_Root root => AVR_Root.Instance
 The current AVR_Root instance in the scene More...
 
bool vrEnabled => UnityEngine.XR.XRSettings.enabled
 True if the application is running as a VR/XR application More...
 

Detailed Description

Inputfield that the value of which can be increased/decreased by function call. The value of the inputfield ought to be numerical.

Definition at line 11 of file AVRUI_InputField_PlusMinus.cs.