Ejemplo n.º 1
0
        /// <summary>
        /// ムービー準備
        /// </summary>
        public IPreloadOperation Prepare(string key)
        {
            Recorder.Catch("Cri Movie", key);
            var process = PrepareImpl(key);

            return(AddQueue(new PreloadOperation(process)));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// サウンド準備
        /// </summary>
        public IPreloadOperation Prepare(string cueSheetname)
        {
            Recorder.Catch("Cri Sound", cueSheetname);
            var process   = PrepareImpl(cueSheetname);
            var operation = new PreloadOperation(process);

            return(AddQueue(operation));
        }
Ejemplo n.º 3
0
        public IPreloadOperation Prepare(string path)
        {
            Recorder.Catch("Cri Movie", path);
            var operation = new PreloadOperation(SkipLoadProcess.Create(path));

            operation.OnStart = _ => OnStartAny?.Invoke();
            operation.OnStop  = _ => OnStopAny?.Invoke();
            return(m_routine.Register(operation));
        }
Ejemplo n.º 4
0
        public IPreloadOperation Prepare(string cueSheetName)
        {
            Recorder.Catch("Cri Sound", cueSheetName);
            var operation = new PreloadOperation(SkipLoadProcess.Create(cueSheetName));

            operation.OnStart = _ => OnStartAny?.Invoke();
            operation.OnStop  = _ => OnStopAny?.Invoke();
            return(m_routine.Register(operation));
        }
Ejemplo n.º 5
0
 /// <summary>
 /// シーン遷移
 /// </summary>
 public ISceneLoadOperation LoadLevel(string scenePath, LoadSceneMode mode)
 {
     Recorder.Catch("Load Level", scenePath);
     return(AssetProvider.LoadLevel(scenePath, mode));
 }
Ejemplo n.º 6
0
 public IAssetLoadOperation <T> LoadAsset <T>(string assetPath) where T : UnityEngine.Object
 {
     Recorder.Catch("Asset Load", assetPath);
     return(AssetProvider.LoadAsset <T>(assetPath));
 }