/// <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; }
public void Init(MagicSceneManager magicSceneManager) { _wholeEffect = wholeEffectFactory.GetWholeEffect(_type); _wholeEffect.Init(this); }