Exemplo n.º 1
0
 /// <summary>
 /// 获取资源版本号
 /// </summary>
 public static int GetResourceVersion()
 {
     DebugCheckInitialize();
     if (_playMode == EPlayMode.EditorSimulateMode)
     {
         return(_editorSimulateModeImpl.GetResourceVersion());
     }
     else if (_playMode == EPlayMode.OfflinePlayMode)
     {
         return(_offlinePlayModeImpl.GetResourceVersion());
     }
     else if (_playMode == EPlayMode.HostPlayMode)
     {
         return(_hostPlayModeImpl.GetResourceVersion());
     }
     else
     {
         throw new NotImplementedException();
     }
 }