组建预制体化

This commit is contained in:
DESKTOP-DDTRVOR\asus 2024-12-23 15:07:08 +08:00
parent d1462c4d8c
commit 66b616482b
13 changed files with 65836 additions and 65372 deletions

View File

@ -0,0 +1,48 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5224673688516134663
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4926553209939917423}
- component: {fileID: 1974904697780077710}
m_Layer: 0
m_Name: AssetBundleManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4926553209939917423
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5224673688516134663}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -189.6, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1974904697780077710
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5224673688516134663}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0e6c3f75dfca4314999718542858d47d, type: 3}
m_Name:
m_EditorClassIdentifier:
PlayMode: 2
CDN: https://www.youtukeji.com.cn/Game/v1

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1c1cea505894b6f4db2fa8f2654f8322
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0e52b314be6e069439c3bb54fb42807e
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,70 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5285230581760013045
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2574755898630511836}
- component: {fileID: 3398476735080828447}
- component: {fileID: 5933703811907282630}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2574755898630511836
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5285230581760013045}
serializedVersion: 2
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3398476735080828447
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5285230581760013045}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!114 &5933703811907282630
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5285230581760013045}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SendPointerHoverToParent: 1
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_RepeatDelay: 0.5
m_ForceModuleActive: 0

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a62c12f59d675f04781dc6ff7c821903
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,78 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &9131245087046894251
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3610832884203715935}
- component: {fileID: 3880219494830862424}
m_Layer: 0
m_Name: GameSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3610832884203715935
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9131245087046894251}
serializedVersion: 2
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3880219494830862424
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9131245087046894251}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 340223aa62c68cd43b3332527cdcc9fb, type: 3}
m_Name:
m_EditorClassIdentifier:
drawingManager: {fileID: 0}
abManager: {fileID: 0}
List:
- id: 0
num: 2
- id: 0
num: 100
- id: 0
num: 2
- id: 0
num: 2
saveStart:
- buyID: 1013
npcID: 0
- buyID: 1013
npcID: 0
- buyID: 1013
npcID: 0
- buyID: 1013
npcID: 0
- buyID: 1013
npcID: 0
- buyID: 1013
npcID: 0
DataAsset: {fileID: 11400000, guid: 98c00edc49c14bc4eb5bd9a15311b7f8, type: 2}
maxTime: 100
nowTime: 0
goldCoin: 0
playingGold: 0
forgePanel: {fileID: 0}
_npcBuyDatas: []
seleTransform: {fileID: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bacfc73082021e74fb5a3350751b6793
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8513624141010957364
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1475571710723315422}
- component: {fileID: 8026731211153694734}
m_Layer: 0
m_Name: PrefabPool
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1475571710723315422
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8513624141010957364}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -65.91, y: -8.307985, z: -0.12111312}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8026731211153694734
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8513624141010957364}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 117834e49a8abf346be608df5e7ba61b, type: 3}
m_Name:
m_EditorClassIdentifier:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0be07367f7edcfd4eb7b3ee812879d40
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -116,6 +116,7 @@ public class GameSystem : MonoBehaviour
_npcBuyDatas = new List<NPCBuyData>(); _npcBuyDatas = new List<NPCBuyData>();
getNpc = false; getNpc = false;
SaveFirstID(); SaveFirstID();
UIMgr.ins.OpenForgePanel();
forgePanel.ResetGold(); forgePanel.ResetGold();
// abManager.InitAsset(() => // abManager.InitAsset(() =>
// { // {

View File

@ -22,7 +22,6 @@ public class UIMgr : MonoBehaviour
private void Awake() private void Awake()
{ {
ins = this; ins = this;
OpenForgePanel();
} }
public void OpenForgePanel() public void OpenForgePanel()
@ -34,6 +33,7 @@ public class UIMgr : MonoBehaviour
storePanel.gameObject.SetActive(false); storePanel.gameObject.SetActive(false);
combatPanel.gameObject.SetActive(false); combatPanel.gameObject.SetActive(false);
endPanel.gameObject.SetActive(false); endPanel.gameObject.SetActive(false);
forgePanel.OpenStartPanel();
} }
public void OpenBattlePanel() public void OpenBattlePanel()