mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 09:35:26 +00:00
20 lines
486 B
C#
20 lines
486 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|