111
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 8s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 1m3s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 6s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 2s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 32s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 2s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 3s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 15s
Plugin Library CI / publish (07.RKTools) (push) Successful in 3s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 3s
Plugin Library CI / publish (10.XNode) (push) Successful in 3s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 3s
Plugin Library CI / publish (12.WeixinMinigame) (push) Successful in 59s
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 8s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 1m3s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 6s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 2s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 32s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 2s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 3s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 15s
Plugin Library CI / publish (07.RKTools) (push) Successful in 3s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 3s
Plugin Library CI / publish (10.XNode) (push) Successful in 3s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 3s
Plugin Library CI / publish (12.WeixinMinigame) (push) Successful in 59s
This commit is contained in:
@@ -34,20 +34,23 @@ namespace Stary.Evo
|
|||||||
IRemoteServices remoteServices = new RemoteServices(defaultHostServer, fallbackHostServer);
|
IRemoteServices remoteServices = new RemoteServices(defaultHostServer, fallbackHostServer);
|
||||||
//var webServerFileSystemParams = FileSystemParameters.CreateDefaultWebServerFileSystemParameters();
|
//var webServerFileSystemParams = FileSystemParameters.CreateDefaultWebServerFileSystemParameters();
|
||||||
|
|
||||||
#if UNITY_WEBGL&&WEB_PLAYMODE
|
#if UNITY_WEBGL&&WEIXINMINIGAME
|
||||||
var webRemoteFileSystemParams =
|
|
||||||
FileSystemParameters.CreateDefaultWebRemoteFileSystemParameters(remoteServices); //支持跨域下载
|
|
||||||
#elif UNITY_WEBGL && WEIXINMINIGAME
|
|
||||||
string packageRoot = $"{WeChatWASM.WX.env.USER_DATA_PATH}/__GAME_FILE_CACHE";
|
string packageRoot = $"{WeChatWASM.WX.env.USER_DATA_PATH}/__GAME_FILE_CACHE";
|
||||||
var webRemoteFileSystemParams =
|
var webRemoteFileSystemParams =
|
||||||
WechatFileSystemCreater.CreateFileSystemParameters(packageRoot, remoteServices);
|
WechatFileSystemCreater.CreateFileSystemParameters(packageRoot, remoteServices);
|
||||||
|
#elif UNITY_WEBGL
|
||||||
|
var webRemoteFileSystemParams =
|
||||||
|
FileSystemParameters.CreateDefaultWebRemoteFileSystemParameters(remoteServices); //支持跨域下载
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
var initParameters = new WebPlayModeParameters();
|
var initParameters = new WebPlayModeParameters();
|
||||||
#if UNITY_WEBGL
|
|
||||||
//initParameters.WebServerFileSystemParameters = webRemoteFileSystemParams;
|
//initParameters.WebServerFileSystemParameters = webRemoteFileSystemParams;
|
||||||
|
#if UNITY_WEBGL
|
||||||
initParameters.WebRemoteFileSystemParameters = webRemoteFileSystemParams;
|
initParameters.WebRemoteFileSystemParameters = webRemoteFileSystemParams;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
return initParameters;
|
return initParameters;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.tools",
|
"name": "com.staryevo.tools",
|
||||||
"version": "1.4.27",
|
"version": "1.4.28",
|
||||||
"displayName": "00.StaryEvo.Tools",
|
"displayName": "00.StaryEvo.Tools",
|
||||||
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user