コード例 #1
0
        /// <summary>
        /// 初始化数据
        /// </summary>
        private void InitData()
        {
            Debug.Log("初始化场景数据中");


            _magicSceneManager = GameObject.Find("Scene").GetComponent <MagicSceneManager>();

            _durTime   = _sceneConfig.durtime;
            _startTime = Time.time;
            _magicSceneManager._videoBetweenImageController.Init(_manager, _sceneConfig.daoTypeEnum);
            _manager.useKinect = false;

            _magicSceneManager._videoBetweenImageController.StartPlay();


            _hasInit = true;
        }
コード例 #2
0
 public void Init(MagicSceneManager magicSceneManager)
 {
     _wholeEffect = wholeEffectFactory.GetWholeEffect(_type);
     _wholeEffect.Init(this);
 }