mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 18:32:45 +00:00
16 lines
409 B
C#
16 lines
409 B
C#
using Cysharp.Threading.Tasks;
|
|
using System.Threading;
|
|
|
|
namespace QSB.TriggerSync.WorldObjects
|
|
{
|
|
public class QSBCharacterTrigger : QSBTrigger<CharacterAnimController>
|
|
{
|
|
public override async UniTask Init(CancellationToken cancellationToken)
|
|
{
|
|
await base.Init(cancellationToken);
|
|
AttachedObject.OnEntry -= TriggerOwner.OnZoneEntry;
|
|
AttachedObject.OnExit -= TriggerOwner.OnZoneExit;
|
|
}
|
|
}
|
|
}
|