zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/HotfixView/Event/CreateTransPointEvent.cs

18 lines
468 B
C#

using ET.EventType;
using ET;
using System;
using System.Collections.Generic;
namespace ET
{
public class CreateTransPointEvent : AEvent<CreateTransPoint>
{
public override async ETTask Run(CreateTransPoint args)
{
Scene scene = args.zoneScene;
scene.GetComponent<TransPointComponent>().Create(scene,args.transIndex, args.currSceneId, args.pos).Coroutine();
await ETTask.CompletedTask;
}
}
}