public SimpleStatePrompt(PromptStateCallback <T> callback, bool callbackHandlesCancel, T state) { m_Callback = callback; m_State = state; m_CancelCallback = callbackHandlesCancel ? callback : null; }
public SimpleStatePrompt(PromptStateCallback <T> callback, T state) : this(callback, false, state) { }
public SimpleStatePrompt(PromptStateCallback <T> callback, PromptStateCallback <T> cancelCallback, T state) { m_Callback = callback; m_CancelCallback = cancelCallback; m_State = state; }