Added PlayerHealth and PlayerShoot
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using UnityEngine;
|
||||
using Unity.Netcode;
|
||||
|
||||
public class PlayerUIController : NetworkBehaviour
|
||||
{
|
||||
public override void OnNetworkSpawn()
|
||||
{
|
||||
GetComponent<Canvas>().enabled = IsOwner;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user