Esempio n. 1
0
        void PlayAnimList(string eventString)
        {
            object eventData;

            if (!cache.TryGet(eventString.GetHashCode(), out eventData))
            {
                eventData = Tools.Json2Obj <FrameEventInfo.FrameEventAnimList>(eventString, true);
                cache.Set(eventString.GetHashCode(), eventData);
            }
            roleController.OnPlayAnimList(eventData as FrameEventInfo.FrameEventAnimList);
        }