quantum-space-buddies/QSB/TriggerSync/WorldObjects/QSBCharacterTrigger.cs
2022-03-02 19:46:33 -08:00

14 lines
367 B
C#

using Cysharp.Threading.Tasks;
using System.Threading;
namespace QSB.TriggerSync.WorldObjects;
public class QSBCharacterTrigger : QSBTrigger<CharacterAnimController>
{
public override async UniTask Init(CancellationToken ct)
{
await base.Init(ct);
AttachedObject.OnEntry -= TriggerOwner.OnZoneEntry;
AttachedObject.OnExit -= TriggerOwner.OnZoneExit;
}
}