UI_Interact¶
This UI_Interact community component allows you to pick up an object within a specified interaction distance by clicking a button displayed.
Property | Description |
---|---|
Interaction distance | Distance for interaction and tool pickups. A value between 0.1 and 3 (default) |
Related components¶
This Component must be used with:
- Behavior_Tool, which lets you set the UI icon, handle position, droppability, and how to use tools.
You can also use the following Components according to your need:
-
Behavior_Gun, which lets you set the properties of a gun.
-
Behavior_MeleeWeapon, which lets you set the properties of a melee weapon.
-
Behavior_ThrowWeapon, which lets you set the properties of a throwing weapon.