EntPressableButtonPart

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

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

Values

Name

Type

Description

Button Is Down

Bool Variable

  • ReadOnly

Button Down On Collision

Bool Variable

Pushes 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 Time

Number Variable

Defaults to 1 - s

Button Down Offset

Vector3 Variable

Amount button will go down on pressed.

Methods

Name

Description

Push Button

Events

Name

Description

Button Down(Entity pressedButton)