Exemple #1
0
 public override void OnInspectorGUI()
 {
     if (m_Instance == null)
     {
         return;
     }
     this.DrawDefaultInspector();
     ExposeProperties.Expose(m_fields);
 }
        public override void OnInspectorGUI()
        {
            if (_mInstance == null)
            {
                return;
            }
            DrawDefaultInspector();
            ExposeProperties.Expose(_mFields);

            EditorUtility.SetDirty(target); // Makes sure the inspector will update every frame
        }