Пример #1
0
    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);
    }
Пример #2
0
	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;
	}
Пример #3
0
 public static KGFDialogWindow Create(EventHandler theCloseEvent, string theInfo, string theTitle, eIconStyle theIconStyle)
 {
     return(Create(theCloseEvent, theInfo, theTitle, theIconStyle, eButtonStyle.OK));
 }
Пример #4
0
	public static KGFDialogWindow Create(EventHandler theCloseEvent, string theInfo, string theTitle, eIconStyle theIconStyle)
	{
		return Create(theCloseEvent,theInfo,theTitle,theIconStyle,eButtonStyle.OK);
	}