18 lines
468 B
C#
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;
|
|
}
|
|
}
|
|
}
|