// Set the reactions to the given interaction type. // The reaction functions are called in the order they are specified. protected void SetReaction(InteractionType type, params InteractionMemberDelegate[] reactions) { InteractionHandler handler = GetInteraction(type); handler.Clear(); for (int i = 0; i < reactions.Length; i++) { handler.Add(reactions[i]); } }