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.
13 lines
457 B
13 lines
457 B
3 years ago
|
namespace ET
|
||
|
{
|
||
|
public class AfterCreateCurrentScene_AddComponent: AEvent<EventType.AfterCreateCurrentScene>
|
||
|
{
|
||
|
protected override void Run(EventType.AfterCreateCurrentScene args)
|
||
|
{
|
||
|
Scene currentScene = args.CurrentScene;
|
||
|
// currentScene.AddComponent<UIComponent>();
|
||
|
currentScene.AddComponent<ResourcesLoaderComponent>();
|
||
|
currentScene.AddComponent<SyncTimeComponent>();
|
||
|
}
|
||
|
}
|
||
|
}
|