InteractableComponent

@MainThread
class InteractableComponent : Component

The Component that marks an entity as interactable, allowing it to receive and process input events.

Note: To be interactable, the entity must also have a CollisionComponent.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun clone(): Component

Creates and returns a new instance cloned from the current object.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int