18 lines
432 B
C#
18 lines
432 B
C#
using ET.EventType;
|
|
using ET;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ET
|
|
{
|
|
public class RemoveTransPointEvent : AEvent<RemoveTransPoint>
|
|
{
|
|
public override async ETTask Run(RemoveTransPoint args)
|
|
{
|
|
TransPointComponent component = args.zoneScene.GetComponent<TransPointComponent>();
|
|
component.RemoveAll();
|
|
await ETTask.CompletedTask;
|
|
}
|
|
}
|
|
}
|