Свойство | Type | Description | |
---|---|---|---|
prefabName | string |
Méthode | Description | |
---|---|---|
OnStartLocalPlayer ( ) : void |
When the local player object is set up, get and set its unique identity
|
Méthode | 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
|