private void SetupVariables(UTContext context)
 {
     // this is intended, so project properties can refer to editor properties
     UTEditorProperties.ApplyTo(context);
     UTomate.ProjectProperties.ApplyTo(context);
     // but editor properties overwrite project properties.
     UTEditorProperties.ApplyTo(context);
 }
Exemple #2
0
 private void DrawEditorProperties()
 {
     EditorGUILayout.HelpBox("The properties you set up here will be available to all actions in all projects.", MessageType.None, true);
     editorPropertyEditorState = DrawPropertyEditor(UTEditorProperties.Properties(), editorPropertyEditorState,
                                                    UTEditorProperties.AddProperty, UTEditorProperties.PropertyExists, UTEditorProperties.DeleteProperty, null);
 }