Non-static commands
Adding non-static commands
public class Player : MonoBehaviour
{
private float currentHealth;
[Command]
public int Health
{
get => currentHealth;
set => currentHealth = value;
}
}Last updated