#is this code right?

2 messages · Page 1 of 1 (latest)

green swallow
#

[Command]
public void SetName(string name)
{
ClientSetName(name);
}
[ClientRpc]
void ClientSetName(string name)
{
PlayerName = name;
gameObject.name = name;
DisplayName.text = name;
}

just checking before i make another build. still very new to this stuff

deep notch