internal static void Open(Component current, Action <Component> action) { BGChoseComponentWindow.action = action; BGChoseComponentWindow.current = current; instance = BGEditorUtility.ShowPopupWindow <BGChoseComponentWindow>(WindowSize); }
internal static void Open(BGCc current) { BGCcChangeNameWindow.current = current; ccName = current.CcName; instance = BGEditorUtility.ShowPopupWindow <BGCcChangeNameWindow>(WindowSize); }
internal static void Open(BGCc current, Component[] availableList, Action <BGCc> action) { BGCcChoseWindow.action = action; BGCcChoseWindow.current = current; BGCcChoseWindow.availableList = availableList; instance = BGEditorUtility.ShowPopupWindow <BGCcChoseWindow>(WindowSize); }
internal static void Open(int current, BGCurve curve, Action <BGCurvePointComponent> action) { BGCurveChosePointWindow.action = action; BGCurveChosePointWindow.current = current; BGCurveChosePointWindow.curve = curve; instance = BGEditorUtility.ShowPopupWindow <BGCurveChosePointWindow>(WindowSize); }
internal static void Open(BGCurve curve, Action <Type> action, Type dependsOnType = null, bool ignoreExcludeFromMenuAttribute = false) { tree = new BGCcTreeView(curve, dependsOnType, ignoreExcludeFromMenuAttribute, Message, type => { action(type); instance.Close(); }); instance = BGEditorUtility.ShowPopupWindow <BGCcAddWindow>(WindowSize); }
internal static void Open(BGCurve curve, Action <Type> action, Type dependsOnType = null) { BGCcAddWindow.action = action; noImage = BGEditorUtility.LoadTexture2D(BGEditorUtility.Image.BGCcNoImage123); tree = new Tree(curve, dependsOnType); instance = BGEditorUtility.ShowPopupWindow <BGCcAddWindow>(WindowSize); }
internal static void Open() { BGEditorUtility.ShowPopupWindow <BGCurveSettingsForEditorWindow>(WindowSize); }
internal static void Open(BGAbstractSettingsForEditor settings) { BGCurveSettingsForEditorWindow.settings = settings; BGEditorUtility.ShowPopupWindow <BGCurveSettingsForEditorWindow>(WindowSize); }