13 lines
414 B
C#
13 lines
414 B
C#
namespace ET.Client
|
|
{
|
|
[Event(SceneType.LockStep)]
|
|
public class AfterCreateClientScene_LSAddComponent: AEvent<Scene, AfterCreateClientScene>
|
|
{
|
|
protected override async ETTask Run(Scene scene, AfterCreateClientScene args)
|
|
{
|
|
scene.AddComponent<UIComponent>();
|
|
scene.AddComponent<ResourcesLoaderComponent>();
|
|
await ETTask.CompletedTask;
|
|
}
|
|
}
|
|
} |