public void RegisterEvent(string path, UnityAction <object> callBack) { if (dicEvent.ContainsKey(path)) { dicEvent[path].AddListener(callBack); } else { DataEvent event_ = new DataEvent(); event_.AddListener(callBack); dicEvent.Add(path, event_); } }