Пример #1
0
        /// <summary>
        ///  初始化卡牌数据,进入loginin状态
        /// </summary>
        /// <param name="deltaTime"></param>
        /// <returns></returns>
        protected override FSM.State _DoTick(float deltaTime)
        {
            if (WebManager.IsInited())
            {
                if (!_loaded)
                {
                    Metadata.MetadataManager.Instance.LoadMetadata();
                    _loaded = true;
                }
                else
                {
                    return(new LoginState(_Content));
                }
            }

            return(this);
        }