14 lines
367 B
C#
Raw Normal View History

2022-01-28 20:49:07 -08:00
using Cysharp.Threading.Tasks;
using System.Threading;
2022-03-02 19:46:33 -08:00
namespace QSB.TriggerSync.WorldObjects;
public class QSBCharacterTrigger : QSBTrigger<CharacterAnimController>
2022-01-12 19:18:59 -08:00
{
2022-03-02 19:46:33 -08:00
public override async UniTask Init(CancellationToken ct)
2022-01-12 19:18:59 -08:00
{
2022-03-02 19:46:33 -08:00
await base.Init(ct);
AttachedObject.OnEntry -= TriggerOwner.OnZoneEntry;
AttachedObject.OnExit -= TriggerOwner.OnZoneExit;
2022-01-12 19:18:59 -08:00
}
}