2021-04-08 20:09:59 +08:00
|
|
|
|
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)
|
|
|
|
|
{
|
2021-04-11 19:50:39 +08:00
|
|
|
|
Scene scene = args.zoneScene;
|
2021-05-01 11:27:41 +08:00
|
|
|
|
scene.GetComponent<TransPointComponent>().Create(scene,args.transIndex, args.currSceneId, args.pos).Coroutine();
|
2021-04-08 20:09:59 +08:00
|
|
|
|
await ETTask.CompletedTask;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|