void OnEnable() { Vitals.Reset(); ChangeState(new PrimaryState()); Cycle.CycleStart += OnCycleStart; Cycle.CycleEnd += OnCycleEnd; }
public void OnCycleStart(object sender, EventArgs eventArgs) { Walk(); agent.enabled = true; Vitals.Reset(); }