Class InteractionButtonController
Handles the behaviour of the interaction buttons, such as enabling and disabling when appropriate or highlighting the combine button in orange when a combination would be possible.
It also allows for grabbed objects to be rotatable.
Inheritance
System.Object
InteractionButtonController
Namespace: UI
Assembly: Assembly-CSharp.dll
Syntax
public class InteractionButtonController : MonoBehaviour
Fields
| Improve this Doc View SourcegrabbedObjectRotationSpeed
The speed that a grabbed object is rotated.
Declaration
public float grabbedObjectRotationSpeed
Field Value
Type | Description |
---|---|
System.Single | Default is 0.2f. |
Methods
| Improve this Doc View SourceActivateInteractButtons()
Activates the interaction buttons for the user to see.
Declaration
public void ActivateInteractButtons()
DeactivateInteractButtons()
Deactivates the interaction buttons.
Declaration
public void DeactivateInteractButtons()
GrabRelease()
Handles what happenes when the grab/Release button is called depending on its current state.
Declaration
public void GrabRelease()