guodong 1 жил өмнө
parent
commit
a2dcc379b1

+ 22 - 0
GameClient/Assets/AssetBundleBuilderSetting.asset

@@ -0,0 +1,22 @@
+%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: 09788b4733bab2d4792fdd5d28e7653c, type: 3}
+  m_Name: AssetBundleBuilderSetting
+  m_EditorClassIdentifier: 
+  BuildPipeline: 0
+  BuildMode: 0
+  BuildPackage: Logic
+  CompressOption: 2
+  OutputNameStyle: 1
+  CopyBuildinFileOption: 0
+  CopyBuildinFileTags: 
+  EncyptionClassName: EncryptionNone

+ 8 - 0
GameClient/Assets/AssetBundleBuilderSetting.asset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: eeda0a02e2d4e1d44902f7a414f0ce17
+NativeFormatImporter:
+  externalObjects: {}
+  mainObjectFileID: 11400000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 90 - 0
GameClient/Assets/AssetBundleCollectorSetting.asset

@@ -0,0 +1,90 @@
+%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: 185f6993d5150494d98da50e26cb1c25, type: 3}
+  m_Name: AssetBundleCollectorSetting
+  m_EditorClassIdentifier: 
+  ShowPackageView: 1
+  EnableAddressable: 0
+  LocationToLower: 0
+  IncludeAssetGUID: 0
+  UniqueBundleName: 0
+  ShowEditorAlias: 0
+  Packages:
+  - PackageName: Logic
+    PackageDesc: 
+    Groups:
+    - GroupName: Game
+      GroupDesc: 
+      AssetTags: 
+      ActiveRuleName: DisableGroup
+      Collectors:
+      - CollectPath: Assets/Game/CSShare/Sqlite/excelConfig.sqlite.bytes
+        CollectorGUID: ef20d70915914224195c8bc33e9f6c8e
+        CollectorType: 0
+        AddressRuleName: AddressByFileName
+        PackRuleName: PackRawFile
+        FilterRuleName: CollectAll
+        AssetTags: 
+        UserData: 
+      - CollectPath: Assets/ResIn/Font
+        CollectorGUID: 1295ceb03b9528244a0d4164f9f414fe
+        CollectorType: 0
+        AddressRuleName: AddressByFileName
+        PackRuleName: PackDirectory
+        FilterRuleName: CollectAll
+        AssetTags: 
+        UserData: 
+      - CollectPath: Assets/ResIn/Dll
+        CollectorGUID: 245d660d0740f254aa5fbfc8ad44f173
+        CollectorType: 0
+        AddressRuleName: AddressByFileName
+        PackRuleName: PackTopDirectory
+        FilterRuleName: CollectAll
+        AssetTags: 
+        UserData: 
+      - CollectPath: Assets/ResIn/UI
+        CollectorGUID: aed08f1fe291a0745900a0b2b06269b0
+        CollectorType: 0
+        AddressRuleName: AddressByFileName
+        PackRuleName: PackTopDirectory
+        FilterRuleName: CollectAll
+        AssetTags: 
+        UserData: 
+      - CollectPath: Assets/ResIn/Prefab
+        CollectorGUID: 5d87553e524b6a648b7e76e811575a5a
+        CollectorType: 0
+        AddressRuleName: AddressByFileName
+        PackRuleName: PackDirectory
+        FilterRuleName: CollectAll
+        AssetTags: 
+        UserData: 
+      - CollectPath: Assets/ResIn/Fight
+        CollectorGUID: bf9dee37b45508541a010f8b143cb9dd
+        CollectorType: 0
+        AddressRuleName: AddressByFileName
+        PackRuleName: PackDirectory
+        FilterRuleName: CollectAll
+        AssetTags: 
+        UserData: 
+      - CollectPath: Assets/ResIn/LoginRes
+        CollectorGUID: e9a4504fc7b6f554a9ff915668eb371c
+        CollectorType: 0
+        AddressRuleName: AddressByFileName
+        PackRuleName: PackDirectory
+        FilterRuleName: CollectAll
+        AssetTags: 
+        UserData: 
+    - GroupName: Default Group
+      GroupDesc: 
+      AssetTags: 
+      ActiveRuleName: EnableGroup
+      Collectors: []

+ 8 - 0
GameClient/Assets/AssetBundleCollectorSetting.asset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 56e66b3306503e24dade3d49a5bb40b4
+NativeFormatImporter:
+  externalObjects: {}
+  mainObjectFileID: 11400000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
GameClient/Assets/Game/Launcher/YooAsset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 11358ec6a04d2604db3c9ea3029a4399
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 18 - 0
GameClient/Assets/Game/Launcher/YooAsset/YooAssetGfg.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace YooAsset
+{
+    public class YooAssetGfg
+    {
+        public static bool CheckDressUpResExist()
+        {
+            var p = YooAssets.GetPackage("DressUp");
+            //p.PlayModeServices
+            return false;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/Launcher/YooAsset/YooAssetGfg.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b3bda3aada8fb9646a0b621c48530733
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 1 - 0
GameClient/Assets/YooAsset/Runtime/PackageSystem/ResourcePackage.cs

@@ -14,6 +14,7 @@ namespace YooAsset
 		private EPlayMode _playMode;
 		private IBundleServices _bundleServices;
 		private IPlayModeServices _playModeServices;
+		internal IPlayModeServices PlayModeServices { get { return _playModeServices; } }
 		private AssetSystemImpl _assetSystemImpl;
 
 		/// <summary>

+ 18 - 0
GameClient/Assets/YooAsset/Runtime/YooAssetGFG.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace YooAsset
+{
+    public class YooAssetGFG
+    {
+        public static bool CheckDressUpResExist(string assetPath)
+        {
+            var p = YooAssets.GetPackage("DressUp");
+            p.PlayModeServices.ActiveManifest.AssetDic.TryGetValue(assetPath, out var r);
+            return r != null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/YooAsset/Runtime/YooAssetGFG.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b77275950d6cec64f9ec56a02f13b418
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: