public void Trigger(E_TriggerType type, object obj = null) { foreach (TriggerCallback callback in m_triggerList[type]) { callback(obj); } }
public void RemoveTrigger(E_TriggerType type, TriggerCallback callback) { m_triggerList[type].RemoveItem(callback); }
public TriggerCallback AddTrigger(E_TriggerType type, TriggerCallback callback) { m_triggerList[type].Add(callback); return(callback); }