public void Register(GameCommandType type, GameCommandHandler gch)
        {
            List <Action <object> > callbackList;

            if (!handerDic.TryGetValue(type, out callbackList))
            {
                handerDic[type] = new List <Action <object> >();
                callbackList    = handerDic[type];
            }

            callbackList.Add(gch.OnInteractor);
        }
 public void Remove(GameCommandType type, GameCommandHandler handler)
 {
     handerDic[type].Remove(handler.OnInteractor);
 }