So I am a bit stuck here and am still very new to Unet networking.
Here is my current code:
Displaying player names above head
Here is my current code:
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- using UnityEngine.Networking;
- using UnityEngine.UI;
- public class Player_ID_HUD : NetworkBehaviour {
- [SyncVar]
- public string playerUniqueIdentity;
- public NetworkInstanceId playerNetID;
- public Transform myTransform;
- public override void OnStartLocalPlayer()
- {
- GetNetidentity();
- SetIdentity();
- }...