private void CharacterCardClickEvent(CharacterStats characterStats) { CharacterModal modal = MainApp.Instance.modalView.GetModal <CharacterModal>(); modal.SetUp(MainApp.Instance.spriteManager, characterStats, CharacterModal.PageType.Inspection, DismissButtonEvent); MainApp.Instance.modalView.Open(modal); }
private void CharacterCardClickEvent(CharacterStats characterStats) { Debug.Log("Character Click Event : " + characterStats.full_name); CharacterModal modal = MainApp.Instance.modalView.GetModal <CharacterModal>(); modal.SetUp(MainApp.Instance.spriteManager, characterStats, CharacterModal.PageType.Recruitment, RecruitEvent); MainApp.Instance.modalView.Open(modal); }