Unit.setPublicData
Sets (server) public data on a unit.
Kind: Function
Environments: Game
Game
unit:setPublicData( data )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
data |
table | The public data. |
Sets (server) public data on a unit.
Kind: Function
Environments: Game
unit:setPublicData( data )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
data |
table | The public data. |