Property | Type | Description | |
---|---|---|---|
prefabName | string |
Method | Description | |
---|---|---|
OnStartLocalPlayer ( ) : void |
When the local player object is set up, get and set its unique identity
|
Method | Description | |
---|---|---|
Awake ( ) : void |
Initializes variables when script starts
|
|
CmdTellServerMyIdentity ( string name ) : void | ||
CmdTellServerMyTeamTag ( string tag ) : void | ||
GetNetIdentity ( ) : void | ||
MakeUniqueIdentity ( ) : string |
Determine the unique identity based on its network instance id
|
|
SetIdentity ( ) : void |
If local player, make unique identity, otherwise set the provided identity
|
|
SetTeamTag ( string tag ) : void | ||
Update ( ) : void |
Set the identity and tag of this object if it has not been properly set yet
|