void OnDisable() { if (m_questStateDispatcher != null) { m_questStateDispatcher.RemoveListener(this); } }
void OnDisable() { if (m_questStateDispatcher != null) { m_questStateDispatcher.RemoveListener(this); // Use private; don't create new quest state dispatcher. } }