Exemplo n.º 1
0
        private void OnEnable()
        {
            m_profile = (DisableUnderwaterFXTrigger)target;

            if (m_editorUtils == null)
            {
                // Get editor utils for this
                m_editorUtils = PWApp.GetEditorUtils(this);
            }
        }
Exemplo n.º 2
0
        public override void OnInspectorGUI()
        {
            //Initialization
            m_editorUtils.Initialize(); // Do not remove this!

            if (m_profile == null)
            {
                m_profile = (DisableUnderwaterFXTrigger)target;
            }

            m_editorUtils.Panel("GlobalSettings", GlobalPanel, true);
        }