ShapeClass.client_onTinker
Called when a Player is tinkering with the Interactable by pressing the 'Tinker' key (default 'U').
Kind: Callback
Environments: Game
Game
Callback side: Client
ShapeClass:client_onTinker( character, state )
Note: Tinkering usually means opening the upgrade menu for seats.
Parameters:
| Name | Type | Description |
|---|---|---|
self |
table | The class instance. |
character |
Character | The Character of the Player that is tinkering with the Interactable. |
state |
boolean | The interaction state. (true if pressed, false if released) |