You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
888 B
21 lines
888 B
3 years ago
|
namespace ET
|
||
|
{
|
||
|
using FairyGUI;
|
||
|
public class AfterCreateZoneScene_AddComponent: AEvent<EventType.AfterCreateZoneScene>
|
||
|
{
|
||
|
protected override void Run(EventType.AfterCreateZoneScene args)
|
||
|
{
|
||
|
Scene zoneScene = args.ZoneScene;
|
||
|
// zoneScene.AddComponent<UIComponent>();
|
||
|
// zoneScene.AddComponent<UIPathComponent>();
|
||
|
// zoneScene.AddComponent<UIEventComponent>();
|
||
|
// zoneScene.AddComponent<RedDotComponent>();
|
||
|
zoneScene.AddComponent<ResourcesLoaderComponent>();
|
||
|
zoneScene.AddComponent<FUIPackageComponent>();
|
||
|
zoneScene.AddComponent<FUIComponent>();
|
||
|
UIConfig.bringWindowToFrontOnClick = false;
|
||
|
// zoneScene.GetComponent<UIComponent>().ShowWindow(WindowID.WindowID_Login);
|
||
|
// zoneScene.AddComponent<SyncTimeComponent>();
|
||
|
}
|
||
|
}
|
||
|
}
|