20 lines
486 B
C#
Raw Normal View History

2022-01-12 19:18:59 -08:00
namespace QSB.TriggerSync.WorldObjects
{
public class QSBSolanumTrigger : QSBTrigger<NomaiConversationManager>
{
public override void Init()
{
base.Init();
AttachedObject.OnEntry -= TriggerOwner.OnEnterWatchVolume;
AttachedObject.OnExit -= TriggerOwner.OnExitWatchVolume;
}
public override void OnRemoval()
{
base.OnRemoval();
AttachedObject.OnEntry += TriggerOwner.OnEnterWatchVolume;
AttachedObject.OnExit += TriggerOwner.OnExitWatchVolume;
}
}
}