zip压缩加载测试
This commit is contained in:
12
Assets/Main/Resources/ArchitectureTemplate.txt
Normal file
12
Assets/Main/Resources/ArchitectureTemplate.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
namespace NamespaceX
|
||||
{
|
||||
public class ArchitectureX : Architecture<ArchitectureX>
|
||||
{
|
||||
protected override void Init()
|
||||
{
|
||||
//注册示例
|
||||
//RegisterSystem<IScoreSystem>(new ScoreSystem());
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/Main/Resources/ArchitectureTemplate.txt.meta
Normal file
11
Assets/Main/Resources/ArchitectureTemplate.txt.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87dbc7ed6b6d56d4192c57f52677788e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
Assets/Main/Resources/AssemblyDefinitionTemplate.txt
Normal file
18
Assets/Main/Resources/AssemblyDefinitionTemplate.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "MODULE_IDENT",
|
||||
"rootNamespace": "ROOT_NAMESPACE",
|
||||
"references": [
|
||||
"GUID:d1a793c2b6959e04ea45b972eaa369c8",
|
||||
"GUID:e34a5702dd353724aa315fb8011f08c3",
|
||||
"GUID:4492e37c9663479418f9522cc4796b57"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": true,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": false,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0f96d3c3c5e9b98439185f95d7135c9b
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
36
Assets/Main/Resources/BuildAssetDataSetting.asset
Normal file
36
Assets/Main/Resources/BuildAssetDataSetting.asset
Normal file
@@ -0,0 +1,36 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 39a67460f559484da2b52def8ff05571, type: 3}
|
||||
m_Name: BuildAssetDataSetting
|
||||
m_EditorClassIdentifier:
|
||||
serializationData:
|
||||
SerializedFormat: 2
|
||||
SerializedBytes:
|
||||
ReferencedUnityObjects: []
|
||||
SerializedBytesString:
|
||||
Prefab: {fileID: 0}
|
||||
PrefabModificationsReferencedUnityObjects: []
|
||||
PrefabModifications: []
|
||||
SerializationNodes: []
|
||||
packageName: J0001
|
||||
packageVersionX: 1
|
||||
packageVersionY: 0
|
||||
packageVersionZ: 0
|
||||
environmentType: 1
|
||||
selectedBuildPipelines: 1
|
||||
packageVersion: 1.0.0
|
||||
VersionType: 0
|
||||
viewer:
|
||||
clearBuildCacheToggle: 0
|
||||
useAssetDependencyDBToggle: 1
|
||||
copyBuildinFileOption: 1
|
||||
copyBuildinFileParams:
|
||||
8
Assets/Main/Resources/BuildAssetDataSetting.asset.meta
Normal file
8
Assets/Main/Resources/BuildAssetDataSetting.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c92d0b29ec1042db972ce28367bb147
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
48
Assets/Main/Resources/DomainTemplate.txt
Normal file
48
Assets/Main/Resources/DomainTemplate.txt
Normal file
@@ -0,0 +1,48 @@
|
||||
using System.Threading.Tasks;
|
||||
using Stary.Evo;
|
||||
using UnityEngine;
|
||||
namespace NamespaceX
|
||||
{
|
||||
public class ClassNameXX :DomainBase,IController
|
||||
{
|
||||
public override void OnEnter(string param)
|
||||
{
|
||||
base.OnEnter(param);
|
||||
Debug.Log("UnityEvo: OnEnter进入成功");
|
||||
}
|
||||
|
||||
public override void OnExit()
|
||||
{
|
||||
base.OnExit();
|
||||
GetArchitecture().Dispose();
|
||||
Debug.Log("UnityEvo: OnExit退出成功");
|
||||
}
|
||||
|
||||
public override Task OnEnterAsync(string param)
|
||||
{
|
||||
Debug.Log("UnityEvo: OnEnterAsync进入成功");
|
||||
return base.OnEnterAsync(param);
|
||||
}
|
||||
|
||||
public override Task OnExitAsync()
|
||||
{
|
||||
Debug.Log("UnityEvo: OnEnterAsync退出成功");
|
||||
return base.OnExitAsync();
|
||||
}
|
||||
|
||||
public IArchitecture GetArchitecture()
|
||||
{
|
||||
return ReturnArchitecture.Interface;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class ArchitectureX : Architecture<ArchitectureX>
|
||||
{
|
||||
protected override void Init()
|
||||
{
|
||||
//注册示例
|
||||
//RegisterSystem<IScoreSystem>(new ScoreSystem());
|
||||
}
|
||||
}
|
||||
}
|
||||
3
Assets/Main/Resources/DomainTemplate.txt.meta
Normal file
3
Assets/Main/Resources/DomainTemplate.txt.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 021eede2852e4f19adfcb519fa2b7fbb
|
||||
timeCreated: 1742540660
|
||||
21
Assets/Main/Resources/HotfixMainResDomain.asset
Normal file
21
Assets/Main/Resources/HotfixMainResDomain.asset
Normal file
@@ -0,0 +1,21 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1a78aa2541a743f89b2646efe4073f01, type: 3}
|
||||
m_Name: HotfixMainResDomain
|
||||
m_EditorClassIdentifier: com.stary.evo.runtime:Stary.Evo:HotfixMainResDomain
|
||||
hotfixMainResDomainEntity:
|
||||
domain: MainDomain
|
||||
ipconfig: http://192.168.31.100:5005/HotRefresh
|
||||
pathconfig:
|
||||
packageVersion:
|
||||
username: UnityHot
|
||||
password: Unity1234
|
||||
8
Assets/Main/Resources/HotfixMainResDomain.asset.meta
Normal file
8
Assets/Main/Resources/HotfixMainResDomain.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: baae28693819e9642b1bb2f800ecce11
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
43
Assets/Main/Resources/MainDomainAll.asset
Normal file
43
Assets/Main/Resources/MainDomainAll.asset
Normal file
@@ -0,0 +1,43 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2745f06c743a4d8aaf3d993312e39f02, type: 3}
|
||||
m_Name: MainDomainAll
|
||||
m_EditorClassIdentifier:
|
||||
domainAll:
|
||||
- isVideo: 1
|
||||
domainName: X_02_01
|
||||
- isVideo: 1
|
||||
domainName: X_02_02
|
||||
- isVideo: 1
|
||||
domainName: X_03_01_01
|
||||
- isVideo: 1
|
||||
domainName: X_03_01_02
|
||||
- isVideo: 1
|
||||
domainName: X_03_02_01
|
||||
- isVideo: 1
|
||||
domainName: X_03_02_02
|
||||
- isVideo: 1
|
||||
domainName: X_03_02_03
|
||||
- isVideo: 1
|
||||
domainName: X_04_01
|
||||
- isVideo: 1
|
||||
domainName: X_04_02
|
||||
- isVideo: 1
|
||||
domainName: X_04_03
|
||||
- isVideo: 1
|
||||
domainName: X_04_04
|
||||
- isVideo: 1
|
||||
domainName: X_04_05
|
||||
- isVideo: 1
|
||||
domainName: X_05_01
|
||||
- isVideo: 1
|
||||
domainName: X_06_01
|
||||
8
Assets/Main/Resources/MainDomainAll.asset.meta
Normal file
8
Assets/Main/Resources/MainDomainAll.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8fce04c662e892f44a5237be36b53f2c
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
140
Assets/Main/Resources/PointGatherData.asset
Normal file
140
Assets/Main/Resources/PointGatherData.asset
Normal file
@@ -0,0 +1,140 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 79b808b96820ad546951a6859e2a99be, type: 3}
|
||||
m_Name: PointGatherData
|
||||
m_EditorClassIdentifier:
|
||||
ZoneDatas:
|
||||
- id: 2
|
||||
name: X_02
|
||||
desc: "\u751F\u547D\u5065\u5EB7\u533A"
|
||||
spriteName: ui_zone1_shengmingjiankangqu
|
||||
position: {x: -12.82, y: 0, z: 5.85}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
pointDatas:
|
||||
- id: 1
|
||||
name: X_02_01
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u5168\u751F\u547D\u5468\u671F"
|
||||
- id: 2
|
||||
name: X_02_02
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u4EBA\u4F53\u516B\u5927\u7CFB\u7EDF"
|
||||
- id: 3
|
||||
name: X_03
|
||||
desc: "\u5065\u5EB7\u5F71\u54CD\u56E0\u7D20\u533A"
|
||||
spriteName: ui_zone2_jiankangyingxiangyinsuqu
|
||||
position: {x: -10.44, y: 0, z: 5.85}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
pointDatas:
|
||||
- id: 1
|
||||
name: X_03_01_01
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u5BA4\u5916\u5927\u73AF\u5883\u5F71\u54CD\u56E0\u7D20"
|
||||
- id: 2
|
||||
name: X_03_01_02
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u53A8\u623F\u73AF\u5883\u5F71\u54CD\u56E0\u7D20"
|
||||
- id: 4
|
||||
name: X_04
|
||||
desc: "\u751F\u547D\u9632\u62A4\u533A"
|
||||
spriteName: ui_zone3_shengmingfanghuqu
|
||||
position: {x: -7.65, y: 0, z: 5.85}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
pointDatas:
|
||||
- id: 3
|
||||
name: X_03_02_01
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u542C\u529B\u5065\u5EB7"
|
||||
- id: 4
|
||||
name: X_03_02_02
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u89C6\u529B\u5065\u5EB7"
|
||||
- id: 5
|
||||
name: X_03_02_03
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u53E3\u8154\u5065\u5EB7"
|
||||
- id: 4
|
||||
name: X_05
|
||||
desc: "\u5065\u5EB7\u7D20\u517B\u533A"
|
||||
spriteName: ui_zone4_jiankangsuyangqu
|
||||
position: {x: -4.54, y: 0, z: 5.85}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
pointDatas:
|
||||
- id: 1
|
||||
name: X_04_01
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u80A5\u80D6\u5371\u9669\u56E0\u7D20\uFF08\u6162\u75C5\uFF09"
|
||||
- id: 2
|
||||
name: X_04_02
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u4F20\u67D3\u75C5"
|
||||
- id: 3
|
||||
name: X_04_03
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u75C5\u5A92\u751F\u7269\u751F\u7269\u4F20\u67D3\u75C5"
|
||||
- id: 4
|
||||
name: X_04_04
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u72C2\u72AC\u75C5"
|
||||
- id: 5
|
||||
name: X_04_05
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u5FAE\u751F\u7269\u5927\u4F5C\u6218"
|
||||
- id: 6
|
||||
name: X_06
|
||||
desc: "\u5065\u5EB7\u751F\u6D3B\u65B9\u5F0F\u533A"
|
||||
spriteName: ui_zone5_jiankangshenghuofangshiqu
|
||||
position: {x: -1.04, y: 0, z: 5.85}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
pointDatas:
|
||||
- id: 1
|
||||
name: X_05_01
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u60C5\u7EEA\u6025\u6551\u7BB1"
|
||||
- id: 1
|
||||
name: ' X_06_01'
|
||||
position: {x: 0, y: 0, z: 0}
|
||||
rotation: {x: -0, y: 0, z: 0}
|
||||
scale: {x: 1, y: 1, z: 1}
|
||||
desc: "\u996E\u9152\u5371\u5BB3"
|
||||
targetGameObject: {fileID: 0}
|
||||
8
Assets/Main/Resources/PointGatherData.asset.meta
Normal file
8
Assets/Main/Resources/PointGatherData.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 17ac95220ddc8a449804eb0969d6297b
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user