Documentation: InteractableComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
radius | float | 10 | Distance from entity position where interaction is possible | |
ui_text | std::string | key or string for the text to display | ||
name | std::string | this name is called to the on_interacted function on LuaComponents | ||
exclusivity_group | int | 0 | If > 0, only 1 instance of this interaction can be display at the same time |