Hey guys, i have a script that i have atm that will let me name the player but i need help printing this on both players and the leaderboard…
here is the script in question:
public InputField nickInput;
private string nickname;
public void NickPanel_OkBtn() {
if (Input.GetKeyDown (KeyCode.Return)) {
print("NickPanel_OkBtn is Functional");
this.nickname = nickInput.text;
this.nickname = PhotonNetwork.playerName;
print(PhotonNetwork.player.NickName);
Application.LoadLevel ("Game");
}