コード例 #1
0
        protected static bool AddListener(string eventName, Delegate listener)
        {
            IGameEvent gameEvent = IsExistEvent(eventName);

            if (gameEvent == null)
            {
                return(false);
            }
            gameEvent.Add(listener);
            return(true);
        }