Пример #1
0
 private void DefineSymbols()
 {
     using (new SA_H2WindowBlockWithSpace(new GUIContent("SCRIPTING DEFINE SYMBOLS")))
     {
         var defines = SA_EditorDefines.GetScriptingDefines();
         if (defines.Length > 0)
         {
             foreach (var define in defines)
             {
                 var icon = UM_Skin.GetDefaultIcon("hash_tag_icon.png");
                 SA_EditorGUILayout.SelectableLabel(new GUIContent(define, icon));
             }
         }
         else
         {
             EditorGUILayout.HelpBox("No additional scripting defines required.", MessageType.Info);
         }
     }
 }