Unit.setPublicData

Sets (server) public data on a unit.

Kind: Function

Environments: Game

Game

unit:setPublicData( data )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
unit Unit The unit.
data table The public data.