ToolPickup Properties |
The ToolPickup type exposes the following members.
Name | Description | |
---|---|---|
AfterDialogButtonHoldAmount |
Override this method if you require a button to be held (or trigger to be held down) to keep the object engaged.
If you require the trigger, you can return the trigger amount here.
If you require a button press, then return 0.0f if button is not pressed, and 1.0f if button is pressed.
This method is called in the Update() function
| |
AfterDialogShouldRequireButtonHold |
Override this method if you require a button to be held (or trigger to be held down) to keep the object engaged.
This is so that we can show the appropriate messages after displaying a dialog.
If this is required, then also override DialogWarningMessageForButtonHold.
| |
AfterDialogWarningMessageForButtonHold_BothHands |
Override this method if you require a button to be held (or trigger to be held down) to keep the object engaged.
The message text (or Named Text Key) to display after a dialog has been shown to tell the user to hold the appropriate button.
| |
AfterDialogWarningMessageForButtonHold_LeftHandOnly |
Override this method if you require a button to be held (or trigger to be held down) to keep the object engaged.
The message text (or Named Text Key) to display after a dialog has been shown to tell the user to hold the appropriate button.
There are separate messages for when only a single hand, or both hands has the same object
| |
AfterDialogWarningMessageForButtonHold_RightHandOnly |
Override this method if you require a button to be held (or trigger to be held down) to keep the object engaged.
The message text (or Named Text Key) to display after a dialog has been shown to tell the user to hold the appropriate button.
| |
Input |
Input module for the engaged pickup
|