|
@@ -24,10 +24,16 @@ namespace GFGGame
|
|
public AlertWindow() : base()
|
|
public AlertWindow() : base()
|
|
{
|
|
{
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ public override void Dispose()
|
|
|
|
+ {
|
|
|
|
+ Alert.Dispose();
|
|
|
|
+ AlertSystem.Dispose();
|
|
|
|
+ base.Dispose();
|
|
|
|
+ }
|
|
protected override void OnInit()
|
|
protected override void OnInit()
|
|
{
|
|
{
|
|
base.OnInit();
|
|
base.OnInit();
|
|
|
|
+ packageName = UI_AlertUI.PACKAGE_NAME;
|
|
_ui = UI_AlertUI.Create();
|
|
_ui = UI_AlertUI.Create();
|
|
this.viewCom = _ui.target;
|
|
this.viewCom = _ui.target;
|
|
|
|
|