public static KGFDialogWindow Create(EventHandler theCloseEvent, string theInfo, string theTitle, eIconStyle theIconStyle, eButtonStyle theButtonStyle) { LoadTextures(); KGFDialogWindow aWindow = ScriptableObject.CreateInstance <KGFDialogWindow>(); aWindow.itsInfo = theInfo; aWindow.itsTitle = theTitle; aWindow.itsButtonStyle = theButtonStyle; aWindow.itsIconStyle = theIconStyle; aWindow.itsEventClosed = theCloseEvent; aWindow.InitButtons(); aWindow.ShowUtility(); return(aWindow); }
public static KGFDialogWindow Create(EventHandler theCloseEvent, string theInfo, string theTitle, eIconStyle theIconStyle,eButtonStyle theButtonStyle) { LoadTextures(); KGFDialogWindow aWindow = ScriptableObject.CreateInstance<KGFDialogWindow>(); aWindow.itsInfo = theInfo; aWindow.itsTitle = theTitle; aWindow.itsButtonStyle = theButtonStyle; aWindow.itsIconStyle = theIconStyle; aWindow.itsEventClosed = theCloseEvent; aWindow.InitButtons(); aWindow.ShowUtility(); return aWindow; }
public static KGFDialogWindow Create(EventHandler theCloseEvent, string theInfo, string theTitle, eIconStyle theIconStyle) { return(Create(theCloseEvent, theInfo, theTitle, theIconStyle, eButtonStyle.OK)); }
public static KGFDialogWindow Create(EventHandler theCloseEvent, string theInfo, string theTitle, eIconStyle theIconStyle) { return Create(theCloseEvent,theInfo,theTitle,theIconStyle,eButtonStyle.OK); }