Esempio n. 1
0
        public void Dispath(EventArg arg)
        {
            EventDel del = null;

            _delDic.TryGetValue(arg.eID, out del);
            if (del != null)
            {
                del(arg);
            }
            else
            {
                Debug.LogWarning("entity is didnot add listenner, enum = " + arg.eID);
            }
        }
Esempio n. 2
0
 public void DisPatch(EventArg arg)
 {
     enity.Dispath(arg);
 }