static private Init ( XCodeTypeTemplate, template ) : XCodeTemplateWindow, | ||
template | XCodeTypeTemplate, | |
Résultat | XCodeTemplateWindow, |
public override void OnXGUI() { DoButton("Open EditorWindow", () => XCodeTemplateWindow.Init(target as XCodeTypeTemplate)); }
public static void SelectType(Action <XCodeType> callback) { XCodeTemplateWindow window = XCodeTemplateWindow.Init(instance); window.currentAction = callback; }