private void TriggerKeyLink(UFLevelStructure.Keyframe key) { if (key.triggerID > 0) { UFTrigger.Activate(key.triggerID); } }
private void Trigger(bool positive, IDRef.Type ignoredType = IDRef.Type.None) { if (ignoredType == IDRef.Type.All) { return; } foreach (int link in links) { if (UFLevel.GetByID(link).type != ignoredType) { UFTrigger.Activate(link, positive); } } }