My Project
|
Classes | |
class | UltimateRadialMenuInfomation |
Public Types | |
enum | InvokeAction { OnButtonDown , OnButtonClick } |
Public Member Functions | |
void | AddRadialMenuToList (UltimateRadialMenu radialMenu) |
[INTERNAL] Called by each Ultimate Radial Menu. | |
void | SetMainCamera (Camera newMainCamera) |
Sets the camera to the provided camera parameter for calculations. | |
virtual void | MouseAndKeyboardInput (ref bool enableMenu, ref bool disableMenu, ref Vector2 input, ref float distance, ref bool inputDown, ref bool inputUp, int radialMenuIndex) |
This function will catch input from the Mouse and Keyboard and modify the information to send back to the Update function. | |
virtual void | ControllerInput (ref bool enableMenu, ref bool disableMenu, ref Vector2 input, ref float distance, ref bool inputDown, ref bool inputUp, int radialMenuIndex) |
This function will catch input from the Controller and modify the information to send back to the Update function. | |
virtual void | TouchInput (ref bool enableMenu, ref bool disableMenu, ref Vector2 input, ref float distance, ref bool inputDown, ref bool inputUp, int radialMenuIndex) |
This function will catch touch input and modify the information to send back to the Update function. | |
virtual void | VirtualRealityInput (ref bool enableMenu, ref bool disableMenu, ref Vector2 input, ref float distance, ref bool inputDown, ref bool inputUp, int radialMenuIndex) |
This function will catch input from the center of the screen and VR device and modify the information to send back to the Update function. | |
virtual void | CustomInput (ref bool enableMenu, ref bool disableMenu, ref Vector2 input, ref float distance, ref bool inputDown, ref bool inputUp, int radialMenuIndex) |
This function is a virtual void to allow for easy custom input logic. | |
Properties | |
static UltimateRadialMenuInputManager | Instance [get] |
List< UltimateRadialMenuInfomation > | UltimateRadialMenuInformations [get] |
|
inlinevirtual |
This function will catch input from the Controller and modify the information to send back to the Update function.
enableMenu | A reference to the enableMenu boolean from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
disableMenu | A reference to the disableMenu boolean from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
input | A reference to the input Vector2 from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
distance | A reference to the distance float from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
inputDown | A reference to the inputDown boolean from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
inputUp | A reference to the inputUp boolean from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
radialMenuIndex | The current index of the selected radial button. |
|
inlinevirtual |
This function is a virtual void to allow for easy custom input logic.
enableMenu | A reference to the enableMenu boolean from the Update function. Any changes to this variable in the CustomInput function will be reflected in the Update function. |
disableMenu | A reference to the disableMenu boolean from the Update function. Any changes to this variable in the CustomInput function will be reflected in the Update function. |
input | A reference to the input Vector2 from the Update function. Any changes to this variable in the CustomInput function will be reflected in the Update function. |
distance | A reference to the distance float from the Update function. Any changes to this variable in the CustomInput function will be reflected in the Update function. |
inputDown | A reference to the inputDown boolean from the Update function. Any changes to this variable in the CustomInput function will be reflected in the Update function. |
inputUp | A reference to the inputUp boolean from the Update function. Any changes to this variable in the CustomInput function will be reflected in the Update function. |
radialMenuIndex | The current index of the selected radial button. |
|
inlinevirtual |
This function will catch input from the Mouse and Keyboard and modify the information to send back to the Update function.
enableMenu | A reference to the enableMenu boolean from the Update function. Any changes to this variable in the MouseAndKeyboardInput function will be reflected in the Update function. |
disableMenu | A reference to the disableMenu boolean from the Update function. Any changes to this variable in the MouseAndKeyboardInput function will be reflected in the Update function. |
input | A reference to the input Vector2 from the Update function. Any changes to this variable in the MouseAndKeyboardInput function will be reflected in the Update function. |
distance | A reference to the distance float from the Update function. Any changes to this variable in the MouseAndKeyboardInput function will be reflected in the Update function. |
inputDown | A reference to the inputDown boolean from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
inputUp | A reference to the inputUp boolean from the Update function. Any changes to this variable in the ControllerInput function will be reflected in the Update function. |
radialMenuIndex | The current index of the selected radial button. |
|
inline |
Sets the camera to the provided camera parameter for calculations.
newMainCamera | The new camera to use for calculations. |
|
inlinevirtual |
This function will catch touch input and modify the information to send back to the Update function.
enableMenu | A reference to the enableMenu boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
disableMenu | A reference to the disableMenu boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
input | A reference to the input Vector2 from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
distance | A reference to the distance float from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
inputDown | A reference to the inputDown boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
inputUp | A reference to the inputUp boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
radialMenuIndex | The current index of the selected radial button. |
|
inlinevirtual |
This function will catch input from the center of the screen and VR device and modify the information to send back to the Update function.
enableMenu | A reference to the enableMenu boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
disableMenu | A reference to the disableMenu boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
input | A reference to the input Vector2 from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
distance | A reference to the distance float from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
inputDown | A reference to the inputDown boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
inputUp | A reference to the inputUp boolean from the Update function. Any changes to this variable in this function will be reflected in the Update function. |
radialMenuIndex | The current index of the selected radial button. |