public static bool IsConnected(StratusTriggerBehaviour trigger, StratusTriggerable triggerable) { if (trigger.targets.Contains(triggerable)) { return(true); } return(false); }
void OnTriggered(StratusTriggerable other) { current.Remove(other); if (ShouldActivate()) { Activate(); } StratusDebug.Log("Elements left = " + current.Count, this); }