Esempio n. 1
0
        bool DrawEditSymbol(SymbolContext symbol)
        {
            var deleteFlag = false;

            using (new EditorGUILayout.HorizontalScope())
            {
                symbol.name = EditorGUILayout.TextField("名前", symbol.name);
                deleteFlag  = GUILayout.Button("削除", EditorStyles.miniButton, GUILayout.Width(kBtnWidth));
            }
            symbol.description = EditorGUILayout.TextField("説明", symbol.description);
            symbol.individual  = EditorGUILayout.Toggle("Platform別", symbol.individual);

            return(deleteFlag);
        }
Esempio n. 2
0
 public SymbolContext(SymbolContext src)
 {
     name        = src.name;
     description = src.description;
     individual  = src.individual;
 }