void Start() { _fsm = FsmSystem <MenuStates> .Initialize(this); foreach (var obj in _menus) { _fsm.AddState(obj, obj.State); } _fsm.Push(MenuStates.Main); PlayerSettings.Instance.OnNameChange = UpdateName; UpdateName(); }