ShapeClass.server_onUnload
Called when the Interactable is unloaded from the game because no Player's Character is close enough to it. Also called when exiting the game.
Kind: Callback
Environments: Game
Game
Callback side: Server
ShapeClass:server_onUnload( )
Note: The creation, consisting of one or more bodies, consisting of one or more shapes joined together with joints are always unloaded at the same time.
Parameters:
| Name | Type | Description |
|---|---|---|
self |
table | The class instance. |