This commit is contained in:
2026-08-28 19:42:54 +08:00
parent ccb8673313
commit 4b1f8acadf
14 changed files with 1797 additions and 6 deletions
@@ -7,6 +7,19 @@ using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
using static UnityEngine.AddressableAssets.Addressables;
/// <summary>
/// 战神预制体用途:战神有两个预制体(展示/游戏内使用),名字相同,靠 Addressables 子标签区分。
/// - Display:Default 子标签(大厅/商城预览模型)
/// - GamePlay:ZSYX 子标签(座位上替代普通炮台的使用模型)
/// </summary>
public enum ZhanShenUsage
{
/// <summary>展示用:大厅/商城预览模型(Default 子标签加载)</summary>
Display = 0,
/// <summary>游戏内用:座位上替代普通炮台的模型(ZSYX 子标签加载)</summary>
GamePlay = 1
}
[Serializable]
public class TurretResourcesData
{
@@ -20,8 +33,9 @@ public class TurretResourcesData
public List<int> bulletID; // 子弹 ID 列表
// ---- Addressables 标签 ----
const string turret_AALabel = "PTCBZS"; // 炮台统一标签
const string defaultSubLabel = "Default"; // 默认子标签
const string turret_AALabel = "PTCBZS"; // 炮台统一标签(主标签:炮台/翅膀/战神共用)
const string defaultSubLabel = "Default"; // 展示子标签(展示用预制体:普通炮台/翅膀/战神展示)
const string zhanShenGameSubLabel = "ZSYX"; // 战神游戏内子标签(战神的使用预制体,与展示同名靠标签区分)
// ---- 路径→ID 映射(用于 Addressables 加载时反查) ----
private static Dictionary<string, int> turretPrefabPathDic; // prefabPath → turretNumber
@@ -29,7 +43,8 @@ public class TurretResourcesData
// ---- ID→数据/资源 映射 ----
public static Dictionary<int, TurretResourcesData> turretDataDic; // id → data
private static Dictionary<int, GameObject> turretPrefabDic; // id → prefab
private static Dictionary<int, GameObject> turretPrefabDic; // id → 展示用预制体(Default 子标签)
private static Dictionary<int, GameObject> turretGamePrefabDic; // id → 战神游戏内使用预制体(ZSYX 子标签)
private static Dictionary<int, Sprite> turretSpriteDic; // id → sprite
// ---- 保留的 AA Handle(不释放,避免 Build 下资源被卸载)----
@@ -96,13 +111,16 @@ public class TurretResourcesData
// ==================== 资源加载 ====================
/// <summary>
/// 加载炮台相关 Addressables 资源(PT + Default 标签交集)。
/// 加载炮台相关 Addressables 资源(两组标签交集):
/// - PT + Default:普通炮台/翅膀/战神展示预制体 → turretPrefabDic;
/// - PT + ZSYX:战神游戏内使用预制体 → turretGamePrefabDic(与展示同名,靠标签区分)。
/// 注意:Handle 必须保留,不能 Release,否则 Build 下资源会被立即卸载,
/// 字典中存的就是已销毁对象的引用(Editor 下因 AssetDatabase 模式不会暴露此问题)。
/// </summary>
public static async Task LoadTurretAssetsData()
{
turretPrefabDic = new Dictionary<int, GameObject>();
turretGamePrefabDic = new Dictionary<int, GameObject>();
turretSpriteDic = new Dictionary<int, Sprite>();
// 清理上一轮残留的 Handle
@@ -112,7 +130,10 @@ public class TurretResourcesData
}
_loadedHandles.Clear();
// 展示用标签组:PT + Default(普通炮台/翅膀/战神展示预制体)
var labels = new List<string> { turret_AALabel, defaultSubLabel };
// 战神游戏内标签组:PT + ZSYX(战神的使用预制体,名字与展示相同)
var zsGameLabels = new List<string> { turret_AALabel, zhanShenGameSubLabel };
Debug.Log("[TurretResourcesData] 开始预下载炮台资源依赖 (PT + Default)...");
var depHandle = Addressables.DownloadDependenciesAsync(labels, MergeMode.Intersection);
@@ -120,7 +141,13 @@ public class TurretResourcesData
Addressables.Release(depHandle); // 预下载 Handle 可以立即释放,只影响下载缓存
Debug.Log("[TurretResourcesData] 炮台依赖资源预下载完成!");
// ---- 加载炮台 Prefab ----
Debug.Log("[TurretResourcesData] 开始预下载战神游戏内资源依赖 (PT + ZSYX)...");
var zsDepHandle = Addressables.DownloadDependenciesAsync(zsGameLabels, MergeMode.Intersection);
await zsDepHandle.Task;
Addressables.Release(zsDepHandle);
Debug.Log("[TurretResourcesData] 战神游戏内依赖资源预下载完成!");
// ---- 加载炮台 Prefab(展示用)----
var prefabHandle = Addressables.LoadAssetsAsync<GameObject>(labels, prefab =>
{
if (turretPrefabPathDic.TryGetValue(prefab.name, out int id))
@@ -135,6 +162,23 @@ public class TurretResourcesData
_loadedHandles.Add(prefabHandle);
Debug.Log($"[TurretResourcesData] 炮台 Prefab 加载完成,共 {turretPrefabDic.Count} 个");
// ---- 加载战神游戏内 Prefab(ZSYX 子标签;与展示同名,靠标签区分)----
var zsPrefabHandle = Addressables.LoadAssetsAsync<GameObject>(zsGameLabels, prefab =>
{
if (turretPrefabPathDic.TryGetValue(prefab.name, out int id)
&& turretDataDic.TryGetValue(id, out var data)
&& data.turretType == 2) // 只收战神(turretType==2)的游戏内使用预制体
{
turretGamePrefabDic[id] = prefab;
Debug.Log($"[TurretResourcesData] 加载战神游戏内 Prefab: {prefab.name} (ID={id})");
}
}, MergeMode.Intersection);
await zsPrefabHandle.Task;
// 不释放!保留 Handle 以保持资源存活
_loadedHandles.Add(zsPrefabHandle);
Debug.Log($"[TurretResourcesData] 战神游戏内 Prefab 加载完成,共 {turretGamePrefabDic.Count} 个");
// ---- 加载炮台 Sprite ----
var spriteHandle = Addressables.LoadAssetsAsync<Sprite>(labels, data =>
{
@@ -170,9 +214,10 @@ public class TurretResourcesData
_loadedHandles.Clear();
turretPrefabDic?.Clear();
turretGamePrefabDic?.Clear();
turretSpriteDic?.Clear();
Debug.Log($"[TurretResourcesData] 卸载完成,剩余 Prefab: {turretPrefabDic?.Count ?? 0}, Sprite: {turretSpriteDic?.Count ?? 0}");
Debug.Log($"[TurretResourcesData] 卸载完成,剩余 Prefab: {turretPrefabDic?.Count ?? 0}, 战神游戏内: {turretGamePrefabDic?.Count ?? 0}, Sprite: {turretSpriteDic?.Count ?? 0}");
return Task.CompletedTask;
}
@@ -190,6 +235,18 @@ public class TurretResourcesData
return turretPrefabDic != null && turretPrefabDic.TryGetValue(turretNumber, out var prefab) ? prefab : null;
}
/// <summary>
/// 根据战神编号获取战神预制体(两种情况二选一)。
/// - Display:展示用(大厅/商城预览,与 GetTurretPrefab 返回同一个展示模型);
/// - GamePlay:游戏内用(座位上替代普通炮台的使用模型)。
/// 未加载、非战神或未配置使用预制体时返回 null。
/// </summary>
public static GameObject GetZhanShenPrefab(int turretNumber, ZhanShenUsage usage = ZhanShenUsage.Display)
{
var dic = usage == ZhanShenUsage.GamePlay ? turretGamePrefabDic : turretPrefabDic;
return dic != null && dic.TryGetValue(turretNumber, out var prefab) ? prefab : null;
}
/// <summary>根据 ID 获取炮台 Sprite。</summary>
public static Sprite GetTurretSprite(int turretNumber)
{
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ef6fccc13a7ef6741aae97ef50a95deb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 623f39d408d373f498bfa9c7ef4f4dd1
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,116 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &7022076303159096661
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 1256688934348320475, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3165176156956601812, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
propertyPath: m_Name
value: display_FishEntry_4022
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 3165176156956601812, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
insertIndex: -1
addedObject: {fileID: -5913729909658817364}
m_SourcePrefab: {fileID: 100100000, guid: 03149f3f1fb264742b835eb7068654d0, type: 3}
--- !u!1 &5377187731549149313 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3165176156956601812, guid: 03149f3f1fb264742b835eb7068654d0,
type: 3}
m_PrefabInstance: {fileID: 7022076303159096661}
m_PrefabAsset: {fileID: 0}
--- !u!114 &-5913729909658817364
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5377187731549149313}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 99a75d94f05f865448bfb611dc53d6e0, type: 3}
m_Name:
m_EditorClassIdentifier:
turretID:
setPosData: {fileID: 0}
tra_BulletStartPosition: {fileID: 0}
tra_RotationPivot: {fileID: 0}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 0}
description:
skeletonAnimation: {fileID: 0}
old_CurrAnimation: {fileID: 0}
new_CurrAnimation: {fileID: 0}
currTurretType: 0
isFrenzy: 0
idleAnim:
attackAnim:
frenzyAttackAnim:
laserStartAnim:
laserLoopAnim:
laserEndAnim:
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0f931173a2c732a478a6e8f5750a0bd0
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,70 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &8663703956149468791
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1501348921346450307, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_Name
value: gun_barrel_14081_0 Variant
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5880924598778874607, guid: ef3267a872c78c8409b5629425f9fff4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: -0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ef3267a872c78c8409b5629425f9fff4, type: 3}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3ff18466016e86542b372582f348d0d6
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,70 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &777932366574186635
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1028467888781709321, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_Name
value: gun_barrel_14901_0 Variant
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3368964918331985250, guid: ffe5b917cd8f21941adf54c437e9a701,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: -0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ffe5b917cd8f21941adf54c437e9a701, type: 3}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 55692611ed57c594fa0d7ecba7dcf704
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,70 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &1211327147876951776
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 72696550776547054, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_Name
value: gun_barrel_14902_0 Variant
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 73765426979110781, guid: 83f830ab856bfc642b235330651c6513,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: -0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 83f830ab856bfc642b235330651c6513, type: 3}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 44d2d83d8b5556a4b9c447f7a099571f
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,116 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &417341823530976642
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2206251582291059388, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5874741314210093997, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
propertyPath: m_Name
value: display_wargod_in_14053_0_dev
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 5874741314210093997, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
insertIndex: -1
addedObject: {fileID: -7984304882080557592}
m_SourcePrefab: {fileID: 100100000, guid: 859e1645f6d526647be9a958fb2f9f2a, type: 3}
--- !u!1 &6074779976999607855 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5874741314210093997, guid: 859e1645f6d526647be9a958fb2f9f2a,
type: 3}
m_PrefabInstance: {fileID: 417341823530976642}
m_PrefabAsset: {fileID: 0}
--- !u!114 &-7984304882080557592
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6074779976999607855}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 99a75d94f05f865448bfb611dc53d6e0, type: 3}
m_Name:
m_EditorClassIdentifier:
turretID:
setPosData: {fileID: 0}
tra_BulletStartPosition: {fileID: 0}
tra_RotationPivot: {fileID: 0}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 0}
description:
skeletonAnimation: {fileID: 0}
old_CurrAnimation: {fileID: 0}
new_CurrAnimation: {fileID: 0}
currTurretType: 0
isFrenzy: 0
idleAnim:
attackAnim:
frenzyAttackAnim:
laserStartAnim:
laserLoopAnim:
laserEndAnim:
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fd77a1da22db21441ab0b116128a5e3a
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: