コード例 #1
0
 void OnDisable()
 {
     if (m_questStateDispatcher != null)
     {
         m_questStateDispatcher.RemoveListener(this);
     }
 }
コード例 #2
0
 void OnDisable()
 {
     if (m_questStateDispatcher != null)
     {
         m_questStateDispatcher.RemoveListener(this);                                 // Use private; don't create new quest state dispatcher.
     }
 }