Hi!
OnConversationResponseMenu Sent before showing a response menu.
But I'm need event AFTER showing a response menu. For reposition NGUI table with buttons.
Any idea?
[SOLVED]OnConversationResponseMenu but AFTER :)
[SOLVED]OnConversationResponseMenu but AFTER :)
Last edited by Evgeny on Sun Mar 13, 2016 12:12 pm, edited 1 time in total.
Re: OnConversationResponseMenu but AFTER :)
Hi,
You could start a coroutine:
You could start a coroutine:
Code: Select all
void OnConversationResponseMenu(Response[] responses) {
StartCoroutine(RepositionTable());
}
IEnumerator RepositionTable() {
yield return null; // First wait 1 frame for Dialogue System to build table.
// (your reposition code here)
}