Exemplo n.º 1
0
    public override IEnumerator Process()
    {
        MetabolismSystem metabolismSystem = PlayerManager.LocalPlayer.GetComponent <MetabolismSystem>();

        metabolismSystem.HungerState = State;

        yield return(null);
    }
Exemplo n.º 2
0
        public override void Process(NetMessage msg)
        {
            MetabolismSystem metabolismSystem = PlayerManager.LocalPlayer.GetComponent <MetabolismSystem>();

            metabolismSystem.SetHungerState(msg.State);
        }
    public override void Process()
    {
        MetabolismSystem metabolismSystem = PlayerManager.LocalPlayer.GetComponent <MetabolismSystem>();

        metabolismSystem.HungerState = State;
    }