public static void ShowWindow(StepEditorWindow stepEditorWindow, StepContentAsset contentAsset, StepContent content) { StepParameterWindow window = GetWindow<StepParameterWindow>(); window.titleContent.text = "Parameters"; window._stepEditorWindow = stepEditorWindow; window._contentAsset = contentAsset; window._content = content; window.minSize = new Vector2(300, 300); window.maxSize = new Vector2(300, 900); window.Show(); }
public static void ShowWindow(StepEditorWindow stepEditorWindow, StepContentAsset contentAsset, StepContent content) { StepParameterWindow window = GetWindow <StepParameterWindow>(); window.titleContent.image = EditorGUIUtility.IconContent("d_editicon.sml").image; window.titleContent.text = "Parameters"; window._stepEditorWindow = stepEditorWindow; window._contentAsset = contentAsset; window._content = content; window.minSize = new Vector2(300, 300); window.maxSize = new Vector2(300, 900); window.Show(); }