public void triggerModal(string title, string description, string b1_text, string b2_text, TTT_GameManager.VoidCallback b1_callback, TTT_GameManager.VoidCallback b2_callback) { m_title_text.text = title; m_description_text.text = description; m_button_1_text.text = b1_text; m_button_2_text.text = b2_text; m_button_1_callback = b1_callback; m_button_2_callback = b2_callback; //Animate in m_animator.SetBool(ANIMATOR_STATE_BOOL, true); }
public void presentBinaryChoiceModal(string title, string description, string b1_text, string b2_text, TTT_GameManager.VoidCallback b1_callback, TTT_GameManager.VoidCallback b2_callback) { m_binary_choice_modal.triggerModal(title, description, b1_text, b2_text, b1_callback, b2_callback); }