Click or drag to resize

ToolPickup Properties

The ToolPickup type exposes the following members.

Properties
  NameDescription
Public propertyAfterDialogButtonHoldAmount
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
Public propertyAfterDialogShouldRequireButtonHold
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.
Public propertyAfterDialogWarningMessageForButtonHold_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.
Public propertyAfterDialogWarningMessageForButtonHold_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
Public propertyAfterDialogWarningMessageForButtonHold_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.
Protected propertyInput
Input module for the engaged pickup
Top
See Also