public void OnCharacterSelect(CharacterSelectEvent e) { if (!e.isGood) { return; } EventManager em = EventManager.Instance; if (em) { SetInputStateEvent ev = new SetInputStateEvent(new SelectionState(), e.character); em.Raise(ev); } }
private void OnInputStateChange(SetInputStateEvent e) { ChangeState(e.state, e.enterObj); }