コード例 #1
0
        public void Initialise(NotificationServiceSettings _settings)
        {
            // Cache reference
            m_notificationCenter = EditorNotificationCenter.Instance;

            // Initialise notificaton center
            m_notificationCenter.Initialise();
        }
コード例 #2
0
        private static void ShowNotificationCenter()
        {
            EditorNotificationCenter _notificationCenter = EditorNotificationCenter.Instance;

            if (_notificationCenter != null)
            {
                Selection.activeObject = _notificationCenter;
            }
        }