EntPressableButtonPart

Pressable Button Part
Fires an event when the pressable part is pressed.

ID: EntPressableButtonPart
Requires Components: Pressable Part
Base Type: Entity Component

Values

NameTypeDescription
Button Is DownBool Variable - ReadOnly
Button Down On CollisionBool VariablePushes the button down on colliding with something. This will only work if the pushable part is a transform underneath this entity. - Defaults to True
Button Down TimeNumber VariableDefaults to 1 - s
Button Down OffsetVector3 VariableAmount button will go down on pressed.

Methods

NameDescription
Push Button

Events

NameDescription
Button Down(Entity pressedButton)