public static void CreateScriptableObject() { ObjectCreatorWindow.Start("Scriptable Objects", typeof(ScriptableObject), ScriptableObjectWizard.Create, true); }
public static void Start(string title, Type type, Action <Type> OnCreate, bool closeOnCreate) { //We need a window object to be able to call a memeber method ObjectCreatorWindow.GetWindow <ObjectCreatorWindow>(true).Init(title, type, OnCreate, closeOnCreate); }