mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -71,6 +71,14 @@ MonoBehaviour:
|
|||||||
FilterRuleName: CollectAll
|
FilterRuleName: CollectAll
|
||||||
AssetTags:
|
AssetTags:
|
||||||
UserData:
|
UserData:
|
||||||
|
- CollectPath: Assets/HotAssets/HotDlls/GameScripts.dll.bytes
|
||||||
|
CollectorGUID: fe669a0456fe2d64dae66542a8ca9d4d
|
||||||
|
CollectorType: 0
|
||||||
|
AddressRuleName: AddressByFileName
|
||||||
|
PackRuleName: PackRawFile
|
||||||
|
FilterRuleName: CollectAll
|
||||||
|
AssetTags:
|
||||||
|
UserData:
|
||||||
- GroupName: Launcher
|
- GroupName: Launcher
|
||||||
GroupDesc:
|
GroupDesc:
|
||||||
AssetTags: Launcher
|
AssetTags: Launcher
|
||||||
|
Binary file not shown.
BIN
JNFrame2/Assets/HotAssets/HotDlls/GameScripts.dll.bytes
Normal file
BIN
JNFrame2/Assets/HotAssets/HotDlls/GameScripts.dll.bytes
Normal file
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fe669a0456fe2d64dae66542a8ca9d4d
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -147,7 +147,6 @@ Transform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 67180524}
|
m_GameObject: {fileID: 67180524}
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
@@ -156,6 +155,7 @@ Transform:
|
|||||||
- {fileID: 1371077986}
|
- {fileID: 1371077986}
|
||||||
- {fileID: 296179531}
|
- {fileID: 296179531}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 1
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!114 &67180526
|
--- !u!114 &67180526
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@@ -193,13 +193,13 @@ Transform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 296179530}
|
m_GameObject: {fileID: 296179530}
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 67180525}
|
m_Father: {fileID: 67180525}
|
||||||
|
m_RootOrder: -2
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!114 &296179532
|
--- !u!114 &296179532
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@@ -237,13 +237,13 @@ Transform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1371077985}
|
m_GameObject: {fileID: 1371077985}
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 67180525}
|
m_Father: {fileID: 67180525}
|
||||||
|
m_RootOrder: -2
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!114 &1371077987
|
--- !u!114 &1371077987
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@@ -354,13 +354,13 @@ Transform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1460349557}
|
m_GameObject: {fileID: 1460349557}
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 8.688524, y: -5, z: 0}
|
m_LocalPosition: {x: 6.8842363, y: -5, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &1994723394
|
--- !u!1 &1994723394
|
||||||
GameObject:
|
GameObject:
|
||||||
@@ -406,18 +406,11 @@ Transform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1994723394}
|
m_GameObject: {fileID: 1994723394}
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 2
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1660057539 &9223372036854775807
|
|
||||||
SceneRoots:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_Roots:
|
|
||||||
- {fileID: 1460349560}
|
|
||||||
- {fileID: 67180525}
|
|
||||||
- {fileID: 1994723396}
|
|
||||||
|
@@ -2,13 +2,16 @@ namespace HotMain
|
|||||||
{
|
{
|
||||||
public class HotMainEvent
|
public class HotMainEvent
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 开始下载资源
|
/// 开始下载资源
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string StartDownloader = "HotMainEvent_StartDownloader";
|
public static string StartDownloader = "HotMainEvent_StartDownloader";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 下载资源中进度更新 totalCount, currentCount, totalBytes, currentBytes
|
/// 下载资源中进度更新 totalCount, currentCount, totalBytes, currentBytes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string DownloaderProgressUpdate = "HotMainEvent_DownloaderProgressUpdate";
|
public static string DownloaderProgressUpdate = "HotMainEvent_DownloaderProgressUpdate";
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -12,8 +12,11 @@ namespace HotMain.SHGame.Procedure
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class ProcedureInitializePackage : ProcedureBase
|
public class ProcedureInitializePackage : ProcedureBase
|
||||||
{
|
{
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
public static EPlayMode PlayMode = EPlayMode.EditorSimulateMode;
|
||||||
|
#else
|
||||||
public static EPlayMode PlayMode = EPlayMode.HostPlayMode;
|
public static EPlayMode PlayMode = EPlayMode.HostPlayMode;
|
||||||
|
#endif
|
||||||
public static string RawFilePackageName = "RawFilePackage";
|
public static string RawFilePackageName = "RawFilePackage";
|
||||||
public static string DefaultPackageName = "DefaultPackage";
|
public static string DefaultPackageName = "DefaultPackage";
|
||||||
|
|
||||||
@@ -22,6 +25,8 @@ namespace HotMain.SHGame.Procedure
|
|||||||
public static readonly string[] HotDllName =
|
public static readonly string[] HotDllName =
|
||||||
{
|
{
|
||||||
"HotSamples.dll",
|
"HotSamples.dll",
|
||||||
|
"GameLauncher.dll",
|
||||||
|
"GameScripts.dll",
|
||||||
};
|
};
|
||||||
|
|
||||||
public static readonly string[] AotMetaAssemblyFiles =
|
public static readonly string[] AotMetaAssemblyFiles =
|
||||||
|
@@ -23,9 +23,9 @@ namespace HotMain.SHGame.Procedure
|
|||||||
await LoadHotfixDll(ProcedureInitializePackage.RawFilePackageName, name);
|
await LoadHotfixDll(ProcedureInitializePackage.RawFilePackageName, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 实例化热更新入口 执行游戏初始化(配置表初始化、UI模块初始化、获取玩家数据之类的操作)
|
//热更新完成
|
||||||
ResourcePackage package = YooAssets.GetPackage(ProcedureInitializePackage.DefaultPackageName);
|
ResourcePackage package = YooAssets.GetPackage(ProcedureInitializePackage.DefaultPackageName);
|
||||||
var go = await LoadGameObject(package, "HotPrefab");
|
var go = await LoadGameObject(package, "HotGameMain");
|
||||||
go.name = $"Resource_{package.GetPackageVersion()}_{YooAssets.GetPackage(ProcedureInitializePackage.RawFilePackageName).GetPackageVersion()}";
|
go.name = $"Resource_{package.GetPackageVersion()}_{YooAssets.GetPackage(ProcedureInitializePackage.RawFilePackageName).GetPackageVersion()}";
|
||||||
Log.Warning($"Prefab name is {go.name}");
|
Log.Warning($"Prefab name is {go.name}");
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using Cysharp.Threading.Tasks;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using YooAsset;
|
using YooAsset;
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 0f45d335a26535941bd3040692e68b2d
|
guid: 759c846af14c360488aae8d44eccac22
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 079b6edaea6dbaa44b152d2ca2027a96
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
46
JNFrame2/Assets/HotResources/ResResource/HotGameMain.prefab
Normal file
46
JNFrame2/Assets/HotResources/ResResource/HotGameMain.prefab
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &4950134704075743259
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2646845557578810839}
|
||||||
|
- component: {fileID: 3370151640881118991}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: HotGameMain
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &2646845557578810839
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4950134704075743259}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 4
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!114 &3370151640881118991
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4950134704075743259}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7d6cf1653d954568a1d5ff6438c19c56, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 053771d6a5f02174db227bd70d962ea5
|
guid: 88f32cb2fff5e7a47919e3029a7b84bc
|
||||||
PrefabImporter:
|
PrefabImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
@@ -1,152 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &1097140889740049220
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 5162205910739773445}
|
|
||||||
- component: {fileID: 9141581918561402549}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: HotPrefab
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &5162205910739773445
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1097140889740049220}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 96621009899838245}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!114 &9141581918561402549
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1097140889740049220}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 0bb5513bdb814e24499f3e520ec6cdf0, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!1 &4315455410363331238
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 96621009899838245}
|
|
||||||
- component: {fileID: 5454149831640709325}
|
|
||||||
- component: {fileID: 6484354210178095013}
|
|
||||||
- component: {fileID: 3227209449509042593}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Cube
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &96621009899838245
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4315455410363331238}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 5162205910739773445}
|
|
||||||
m_RootOrder: -1
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &5454149831640709325
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4315455410363331238}
|
|
||||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!23 &6484354210178095013
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4315455410363331238}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_StaticShadowCaster: 0
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
|
||||||
--- !u!65 &3227209449509042593
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4315455410363331238}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Size: {x: 1, y: 1, z: 1}
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 6434f09d246b88b439c5e229112df952
|
guid: b19ee93c60f6bb94c90a6548ac69d6f0
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: d51534464e7d0684697d37b78f571c58
|
guid: 1a462b1a49cce884cb2fc41691361b55
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 480f50c7a5bacea428dbb3ecf70c68af
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1 @@
|
|||||||
|
<03><><EFBFBD>攻击Attack<63><6B><EFBFBD>防御Defend<6E><64><EFBFBD>血量Blood
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7795db4b43311ab4882db84d4b850318
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,2 @@
|
|||||||
|
<03><><EFBFBD>
|
||||||
|
<EFBFBD><EFBFBD><EFBFBD><05><><EFBFBD>
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 98fd92cf6f5e96248a535ef4a73d64e4
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbggift.bytes
Normal file
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbggift.bytes
Normal file
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9cff23aad169dba4a9ff839a159134ae
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1 @@
|
|||||||
|
<01>q[10004,10001,10002]=新手引导选择宠物[妙蛙种子,小石头,疯狂石头]
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f3c85a3bb3e5a40439891fe6e52dcd39
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbgmap.bytes
Normal file
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbgmap.bytes
Normal file
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0f84db78039ed604eb96d7f8524c818d
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1 @@
|
|||||||
|
<01>8<EFBFBD>100!预先生成的野外宠物数量
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1eb15cfb0c0425147926af0c9e6d51ca
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,14 @@
|
|||||||
|
a
|
||||||
|
|
||||||
|
!"#$%&'()*+,-./01 2 3 4 5 6 7
|
||||||
|
|
||||||
|
8
|
||||||
|
|
||||||
|
9
|
||||||
|
|
||||||
|
:
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
<
|
||||||
|
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8ca34b19eadc1d048b4b4f59c16741c6
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1 @@
|
|||||||
|
<02><><EFBFBD> 天空城#ui/map/天空城_图片/spriteFrame<6D><65>a<03><11><12>TbGOnHookMap1200014新手地图在这里可以遇到可爱的宠物哦~<7E><><EFBFBD> 魔法镇#ui/map/魔法镇_图片/spriteFrame<6D><65>b<04><14><15><16>TbGOnHookMap120001 魔法阵 这里有魔法精灵~
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4cb7d4aa6f901b247bad7f7b815db6fa
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 71c98c294d26f504b8ff1fcceaffa14d
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbgrole.bytes
Normal file
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbgrole.bytes
Normal file
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b5e64023bd4eb3243baa02c871994e66
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5430aa2410ac4c540aff23ac090792c7
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 90b2274786eada84e90bb7d2c829bb64
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 474029539d0748448bdd6df0251bdc77
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 86d20cb086fb98c48a582d87164af2fb
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2400e89c298613c4c80ff4de939120f8
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
武器帽子项链护肩衣服腰带手套戒指 裤子
|
||||||
|
鞋子
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 25382e32b37220740a014b018d1ae120
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1 @@
|
|||||||
|
<03><>A疯狂松鼠GSkillCrazySquirrel5300300;疯狂松鼠的技能 丢出巨大炸弹 轰炸全部玩家<E78EA9><E5AEB6>B妙蛙种子连击GSkillBulbasaurDoubleHit82妙蛙种子攻击8次 触发一次射叶子技能<E68A80><E883BD>C疯狂杀戮GSkillCDNormal5.白切鸡技能 失去理智疯狂攻击对手
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dc7248695d988b64cb959c2196bfb7d0
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a8e5317ec7c0fbb40a8cc9b0c0111495
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 68d663748142d95429d6669da52b66d8
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbgshop.bytes
Normal file
BIN
JNFrame2/Assets/HotResources/ResResource/Luban/Gen/tbgshop.bytes
Normal file
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 485ecec8f77b04e429d5ad2619b35744
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7f3ef5569679d124a80d227b55812815
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,3 @@
|
|||||||
|
d<02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD> <02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD>
|
||||||
|
|
||||||
|
<02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><5F><EFBFBD>
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8956ff3b7ae573c4eab5cfb90d49dc52
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,3 @@
|
|||||||
|
d<02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD> <02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD>
|
||||||
|
|
||||||
|
<02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD><02><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><01>_<EFBFBD>
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a25fc3e3da22e0e4aa5b0ecfe26f970f
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1 @@
|
|||||||
|
<01><><EFBFBD>[100000]'服务器账号 (用来帧同步裁决)
|
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 79568b2ab0201e541a2af7d07a6187b0
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 08f3b53776430894fa9cf41a58fcf70c
|
guid: daf23295ecba47f4aaea7c1eb5d2ac11
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5ad8b594dcec3544bb060084303c6e20
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,15 @@
|
|||||||
|
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||||
|
|
||||||
|
using FairyGUI;
|
||||||
|
|
||||||
|
namespace Launcher
|
||||||
|
{
|
||||||
|
public class LauncherBinder
|
||||||
|
{
|
||||||
|
public static void BindAll()
|
||||||
|
{
|
||||||
|
UIObjectFactory.SetPackageItemExtension(UI_Button.URL, typeof(UI_Button));
|
||||||
|
UIObjectFactory.SetPackageItemExtension(UI_Launcher.URL, typeof(UI_Launcher));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d082f02b9c184cb4e880a9a47b088792
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,25 @@
|
|||||||
|
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||||
|
|
||||||
|
using FairyGUI;
|
||||||
|
using FairyGUI.Utils;
|
||||||
|
|
||||||
|
namespace Launcher
|
||||||
|
{
|
||||||
|
public partial class UI_Button : GButton
|
||||||
|
{
|
||||||
|
public Controller m_Type;
|
||||||
|
public const string URL = "ui://h88wuvsbed8im2";
|
||||||
|
|
||||||
|
public static UI_Button CreateInstance()
|
||||||
|
{
|
||||||
|
return (UI_Button)UIPackage.CreateObject("Launcher", "Button");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void ConstructFromXML(XML xml)
|
||||||
|
{
|
||||||
|
base.ConstructFromXML(xml);
|
||||||
|
|
||||||
|
m_Type = GetControllerAt(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 640b003b63f42c2489ddda56671df3d5
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,31 @@
|
|||||||
|
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||||
|
|
||||||
|
using FairyGUI;
|
||||||
|
using FairyGUI.Utils;
|
||||||
|
|
||||||
|
namespace Launcher
|
||||||
|
{
|
||||||
|
public partial class UI_Launcher : GComponent
|
||||||
|
{
|
||||||
|
public Controller m_Type;
|
||||||
|
public GProgressBar m_progress;
|
||||||
|
public GTextField m_title;
|
||||||
|
public UI_Button m_downloader;
|
||||||
|
public const string URL = "ui://h88wuvsbkpkc0";
|
||||||
|
|
||||||
|
public static UI_Launcher CreateInstance()
|
||||||
|
{
|
||||||
|
return (UI_Launcher)UIPackage.CreateObject("Launcher", "Launcher");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void ConstructFromXML(XML xml)
|
||||||
|
{
|
||||||
|
base.ConstructFromXML(xml);
|
||||||
|
|
||||||
|
m_Type = GetControllerAt(0);
|
||||||
|
m_progress = (GProgressBar)GetChildAt(1);
|
||||||
|
m_title = (GTextField)GetChildAt(2);
|
||||||
|
m_downloader = (UI_Button)GetChildAt(3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 45c6da4efa15f2c47a3b57b10d47d6ba
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cccf8f03bd08441fbe4c9f253a62a4a2
|
||||||
|
timeCreated: 1729067678
|
@@ -5,7 +5,7 @@ using Launcher;
|
|||||||
using SHFrame;
|
using SHFrame;
|
||||||
using YooAsset;
|
using YooAsset;
|
||||||
|
|
||||||
namespace HotScripts.GameLauncher.FGui.Scripts
|
namespace HotScripts.GameLauncher.FGui.Scripts.Launcher
|
||||||
{
|
{
|
||||||
public class LauncherUI : UIBase
|
public class LauncherUI : UIBase
|
||||||
{
|
{
|
||||||
@@ -29,10 +29,12 @@ namespace HotScripts.GameLauncher.FGui.Scripts
|
|||||||
if (totalDownloadBytes <= 0)
|
if (totalDownloadBytes <= 0)
|
||||||
{
|
{
|
||||||
UIView.m_title.text = "资源已经最新";
|
UIView.m_title.text = "资源已经最新";
|
||||||
|
EventUtil.DispatchEvent(HotMainEvent.StartDownloader);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
UIView.m_title.text = $"需更新 {totalDownloadBytes} 字节资源";
|
UIView.m_title.text = $"需更新 {totalDownloadBytes} 字节资源";
|
||||||
|
UIView.m_Type.selectedIndex = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -44,22 +46,42 @@ namespace HotScripts.GameLauncher.FGui.Scripts
|
|||||||
UIView.m_downloader.onClick.Add(OnDownloader);
|
UIView.m_downloader.onClick.Add(OnDownloader);
|
||||||
|
|
||||||
EventUtil.AddListener(HotMainEvent.DownloaderProgressUpdate,OnDownloaderProgressUpdate);
|
EventUtil.AddListener(HotMainEvent.DownloaderProgressUpdate,OnDownloaderProgressUpdate);
|
||||||
|
EventUtil.AddListener(HotLauncherEvent.InitSuccess,OnInitSuccess);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override void RemoveListener()
|
public override void RemoveListener()
|
||||||
{
|
{
|
||||||
UIView.m_downloader.onClick.Add(OnDownloader);
|
UIView.m_downloader.onClick.Add(OnDownloader);
|
||||||
|
|
||||||
EventUtil.RemoveListener(HotMainEvent.DownloaderProgressUpdate,OnDownloaderProgressUpdate);
|
EventUtil.RemoveListener(HotMainEvent.DownloaderProgressUpdate,OnDownloaderProgressUpdate);
|
||||||
|
EventUtil.RemoveListener(HotLauncherEvent.InitSuccess,OnInitSuccess);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void OnDownloader(EventContext context)
|
private void OnDownloader(EventContext context)
|
||||||
|
{
|
||||||
|
if (UIView.m_Type.selectedIndex != 2)
|
||||||
{
|
{
|
||||||
EventUtil.DispatchEvent(HotMainEvent.StartDownloader);
|
EventUtil.DispatchEvent(HotMainEvent.StartDownloader);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
EventUtil.DispatchEvent(HotLauncherEvent.GoGameMain);
|
||||||
|
SHFrameModule.UI.Close("Launcher", "Launcher");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 初始化完成 进入游戏
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="eventargs"></param>
|
||||||
|
private void OnInitSuccess(EventArgs eventargs)
|
||||||
|
{
|
||||||
|
UIView.m_Type.selectedIndex = 2;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源更新进度
|
/// 资源更新进度
|
22
JNFrame2/Assets/HotScripts/GameLauncher/HotLauncherEvent.cs
Normal file
22
JNFrame2/Assets/HotScripts/GameLauncher/HotLauncherEvent.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
namespace HotScripts.GameLauncher
|
||||||
|
{
|
||||||
|
public class HotLauncherEvent
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 初始化系统 [提示词]
|
||||||
|
/// </summary>
|
||||||
|
public static string InitSystem = "HotLauncherEvent_InitSystem";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 初始化系统成功
|
||||||
|
/// </summary>
|
||||||
|
public static string InitSuccess = "HotLauncherEvent_InitSuccess";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 进入游戏
|
||||||
|
/// </summary>
|
||||||
|
public static string GoGameMain = "HotLauncherEvent_GoGameMain";
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c47cfe00dddd413bafd1d39ddd911be5
|
||||||
|
timeCreated: 1729068147
|
@@ -1,5 +1,6 @@
|
|||||||
using Cysharp.Threading.Tasks;
|
using Cysharp.Threading.Tasks;
|
||||||
using HotScripts.GameLauncher.FGui.Scripts;
|
using HotScripts.GameLauncher.FGui.Scripts;
|
||||||
|
using HotScripts.GameLauncher.FGui.Scripts.Launcher;
|
||||||
using Launcher;
|
using Launcher;
|
||||||
using SHFrame;
|
using SHFrame;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
@@ -15,6 +16,6 @@ public class HotLauncherMain : MonoBehaviour
|
|||||||
private async UniTask RunLauncher()
|
private async UniTask RunLauncher()
|
||||||
{
|
{
|
||||||
LauncherBinder.BindAll();
|
LauncherBinder.BindAll();
|
||||||
await SHFrameModule.UI.Open<LauncherUI>("Launcher", "Launcher", UILayerEnum.Root);
|
await SHFrameModule.UI.Open<LauncherUI>("Launcher", "Launcher");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
33
JNFrame2/Assets/HotScripts/GameScripts/App.cs
Normal file
33
JNFrame2/Assets/HotScripts/GameScripts/App.cs
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
using HotScripts.GameScripts.FGui;
|
||||||
|
using HotScripts.GameScripts.Luban;
|
||||||
|
using Plugins.JNGame.System;
|
||||||
|
using SHFrame;
|
||||||
|
using EventDispatcher = Plugins.JNGame.Util.EventDispatcher;
|
||||||
|
|
||||||
|
namespace HotScripts.GameScripts
|
||||||
|
{
|
||||||
|
public class App
|
||||||
|
{
|
||||||
|
|
||||||
|
//Launcher 事件
|
||||||
|
public static SHFrame.EventDispatcher EventLauncher => EventUtil.Dispatcher;
|
||||||
|
//App 事件
|
||||||
|
public static EventDispatcher Event = new EventDispatcher();
|
||||||
|
|
||||||
|
//Luban 配置
|
||||||
|
public static LubanManager Luban = new LubanManager();
|
||||||
|
|
||||||
|
//UI
|
||||||
|
public static FGuiManager UI = new FGuiManager();
|
||||||
|
|
||||||
|
public static SystemBase[] AllSystem()
|
||||||
|
{
|
||||||
|
return new SystemBase[]
|
||||||
|
{
|
||||||
|
Luban,
|
||||||
|
UI,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
3
JNFrame2/Assets/HotScripts/GameScripts/App.cs.meta
Normal file
3
JNFrame2/Assets/HotScripts/GameScripts/App.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: aedb4fd39b0f485c969f89c15ee8ed8e
|
||||||
|
timeCreated: 1729066668
|
95
JNFrame2/Assets/HotScripts/GameScripts/FGui/FGuiManager.cs
Normal file
95
JNFrame2/Assets/HotScripts/GameScripts/FGui/FGuiManager.cs
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Common;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
|
using FairyGUI;
|
||||||
|
using HotScripts.GameLauncher;
|
||||||
|
using MainUI;
|
||||||
|
using Plugins.JNGame.System;
|
||||||
|
using SHFrame;
|
||||||
|
|
||||||
|
namespace HotScripts.GameScripts.FGui
|
||||||
|
{
|
||||||
|
|
||||||
|
public enum UILayerEnum
|
||||||
|
{
|
||||||
|
View,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum UIID
|
||||||
|
{
|
||||||
|
Component1
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UI 配置结构体
|
||||||
|
*/
|
||||||
|
public struct UIConfigStruct
|
||||||
|
{
|
||||||
|
public readonly string PkgName;
|
||||||
|
public readonly string ResName;
|
||||||
|
public readonly UILayerEnum Layer;
|
||||||
|
|
||||||
|
public UIConfigStruct(string pkgName, string resName, UILayerEnum layer)
|
||||||
|
{
|
||||||
|
PkgName = pkgName;
|
||||||
|
ResName = resName;
|
||||||
|
Layer = layer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class FGuiManager : SystemBase
|
||||||
|
{
|
||||||
|
|
||||||
|
private UI_MainUI _mainUI;
|
||||||
|
|
||||||
|
public static Dictionary<UIID, UIConfigStruct> UIConfigMap = new();
|
||||||
|
public static Dictionary<UILayerEnum, GComponent> LayerMap = new();
|
||||||
|
|
||||||
|
public override async Task OnInit()
|
||||||
|
{
|
||||||
|
await UniTask.DelayFrame(1);
|
||||||
|
Log.Debug($"UI 初始化中");
|
||||||
|
App.EventLauncher.DispatchEvent(HotLauncherEvent.InitSystem,$"UI 初始化中");
|
||||||
|
|
||||||
|
BindAll();
|
||||||
|
BindUI();
|
||||||
|
|
||||||
|
await SHFrameModule.UI.AddPackageASync("MainUI");
|
||||||
|
|
||||||
|
_mainUI = UI_MainUI.CreateInstance();
|
||||||
|
_mainUI.MakeFullScreen();
|
||||||
|
GRoot.inst.AddChildAt(_mainUI,0);
|
||||||
|
_mainUI.Center();
|
||||||
|
|
||||||
|
LayerMap.Add(UILayerEnum.View,_mainUI.m_View);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 绑定UI包
|
||||||
|
/// </summary>
|
||||||
|
private void BindAll()
|
||||||
|
{
|
||||||
|
MainUIBinder.BindAll();
|
||||||
|
CommonBinder.BindAll();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 绑定UI配置
|
||||||
|
/// </summary>
|
||||||
|
private void BindUI()
|
||||||
|
{
|
||||||
|
UIConfigMap.Add(UIID.Component1,new UIConfigStruct("Common", "Component1", UILayerEnum.View));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public async UniTask Open<TClassType>(UIID id, params object[] param)
|
||||||
|
where TClassType : UIBase, new()
|
||||||
|
{
|
||||||
|
if (!UIConfigMap.ContainsKey(id)) return;
|
||||||
|
var config = UIConfigMap[id];
|
||||||
|
await SHFrameModule.UI.Open<TClassType>(config.PkgName, config.ResName, LayerMap[config.Layer], param);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ffd157506c074a2f8ff4779145edd5c7
|
||||||
|
timeCreated: 1729070320
|
8
JNFrame2/Assets/HotScripts/GameScripts/FGui/Publish.meta
Normal file
8
JNFrame2/Assets/HotScripts/GameScripts/FGui/Publish.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 53684cc614eb0d94093256725a1ff85c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ec925952c92c52d46a374f4996e7fcf9
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,14 @@
|
|||||||
|
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||||
|
|
||||||
|
using FairyGUI;
|
||||||
|
|
||||||
|
namespace Common
|
||||||
|
{
|
||||||
|
public class CommonBinder
|
||||||
|
{
|
||||||
|
public static void BindAll()
|
||||||
|
{
|
||||||
|
UIObjectFactory.SetPackageItemExtension(UI_Component1.URL, typeof(UI_Component1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5b2179ed09e9d7f4a9dd5e03d08b08da
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,25 @@
|
|||||||
|
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||||
|
|
||||||
|
using FairyGUI;
|
||||||
|
using FairyGUI.Utils;
|
||||||
|
|
||||||
|
namespace Common
|
||||||
|
{
|
||||||
|
public partial class UI_Component1 : GComponent
|
||||||
|
{
|
||||||
|
public GTextField m_text;
|
||||||
|
public const string URL = "ui://k5vyqumwed8i0";
|
||||||
|
|
||||||
|
public static UI_Component1 CreateInstance()
|
||||||
|
{
|
||||||
|
return (UI_Component1)UIPackage.CreateObject("Common", "Component1");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void ConstructFromXML(XML xml)
|
||||||
|
{
|
||||||
|
base.ConstructFromXML(xml);
|
||||||
|
|
||||||
|
m_text = (GTextField)GetChildAt(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2944078da6fa13c44aa673e785abacc3
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user