This commit is contained in:
2026-07-12 22:30:37 +08:00
parent df04f79fa8
commit 17b88db268
33 changed files with 3469 additions and 494 deletions
@@ -5,6 +5,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11001",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -14,6 +15,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11002",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -23,6 +25,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11003",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -32,6 +35,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11004",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -41,6 +45,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11005",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -50,6 +55,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11006",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -59,6 +65,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11007",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -68,6 +75,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11008",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -77,6 +85,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11009",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -86,6 +95,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11010",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -95,6 +105,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11011",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -104,6 +115,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11012",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -113,6 +125,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11013",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -122,6 +135,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11014",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -131,6 +145,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11015",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -140,6 +155,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11016",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -149,6 +165,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11017",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -158,6 +175,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11018",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -167,6 +185,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11019",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -176,6 +195,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11020",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -185,6 +205,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11021",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -194,6 +215,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11022",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -203,6 +225,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11023",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -212,6 +235,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11024",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -221,6 +245,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11025",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -230,6 +255,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11026",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -239,6 +265,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11027",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -248,6 +275,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11028",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -257,6 +285,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11029",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -266,6 +295,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11030",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -275,6 +305,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11031",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -284,6 +315,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11032",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -293,6 +325,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11033",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -302,6 +335,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11034",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -311,6 +345,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11035",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -320,6 +355,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11036",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -329,6 +365,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11037",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -338,6 +375,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11038",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -347,6 +385,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11039",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -356,6 +395,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11040",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -365,6 +405,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11041",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -374,6 +415,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11042",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -383,6 +425,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11043",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -392,6 +435,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11044",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -401,6 +445,7 @@
"turretType": 1,
"prefabTurretResourcesPath": "paotai11045",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -410,6 +455,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17001",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -419,6 +465,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17002",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -428,6 +475,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17003",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -437,6 +485,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17004",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -446,6 +495,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17005",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -455,6 +505,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17006",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -464,6 +515,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17007",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -473,6 +525,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17008",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -482,6 +535,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17009",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -491,6 +545,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17010",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -500,6 +555,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17011",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -509,6 +565,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17012",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -518,6 +575,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17013",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -527,6 +585,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17014",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -536,6 +595,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17015",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -545,6 +605,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17016",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -554,6 +615,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17017",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -563,6 +625,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17018",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -572,6 +635,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17019",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -581,6 +645,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17020",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -590,6 +655,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17021",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -599,6 +665,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17022",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -608,6 +675,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17023",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -617,6 +685,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17024",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -626,6 +695,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17025",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -635,6 +705,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17026",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -644,6 +715,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17027",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -653,6 +725,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17028",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -662,6 +735,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17029",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -671,6 +745,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17030",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -680,6 +755,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17031",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -689,6 +765,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17032",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -698,6 +775,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17033",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -707,6 +785,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17034",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -716,6 +795,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17035",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -725,6 +805,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17036",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -734,6 +815,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17037",
"animationType": 2,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -743,6 +825,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17038",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -752,6 +835,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17039",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -761,6 +845,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17040",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -770,6 +855,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17041",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -779,6 +865,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17042",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -788,6 +875,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17043",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -797,6 +885,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17044",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -806,6 +895,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17045",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -815,6 +905,7 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17046",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
@@ -824,6 +915,67 @@
"turretType": 3,
"prefabTurretResourcesPath": "chibang17047",
"animationType": 1,
"prefabType": 0,
"attackAudioID": 0,
"bulletID": []
},
{
"turretNumber": 13001,
"turretName": "大乔",
"turretType": 2,
"prefabTurretResourcesPath": "display_wargod_in_14053_0_dev",
"animationType": 0,
"prefabType": 1,
"attackAudioID": 0,
"bulletID": []
},
{
"turretNumber": 13002,
"turretName": "孙悟空",
"turretType": 2,
"prefabTurretResourcesPath": "display_wargod_14902_0_dev",
"animationType": 0,
"prefabType": 2,
"attackAudioID": 0,
"bulletID": []
},
{
"turretNumber": 13003,
"turretName": "杨戬",
"turretType": 2,
"prefabTurretResourcesPath": "display_wargod_14901_0_dev",
"animationType": 0,
"prefabType": 2,
"attackAudioID": 0,
"bulletID": []
},
{
"turretNumber": 13004,
"turretName": "熊猫侠客",
"turretType": 2,
"prefabTurretResourcesPath": "display_14080_0_DaTing",
"animationType": 0,
"prefabType": 3,
"attackAudioID": 0,
"bulletID": []
},
{
"turretNumber": 13005,
"turretName": "人鱼公主",
"turretType": 2,
"prefabTurretResourcesPath": "display_FishEntry_6004",
"animationType": 0,
"prefabType": 3,
"attackAudioID": 0,
"bulletID": []
},
{
"turretNumber": 13006,
"turretName": "核能怪兽",
"turretType": 2,
"prefabTurretResourcesPath": "display_FishEntry_4022",
"animationType": 0,
"prefabType": 3,
"attackAudioID": 0,
"bulletID": []
}
@@ -14,11 +14,12 @@ public class TurretResourcesData
public int turretType; // 1=普通炮台 2=战神 3=翅膀
public string prefabTurretResourcesPath; // 资源路径(prefab/spine/sprite 共用名)
public int animationType; // 1=spine 2=animator 3=animation
public int prefabType; // 预制体类型(战神分类:1=国色天香 2=西游传说 3=山海奇闻;炮台/翅膀=0)
public int attackAudioID; // 攻击音效 ID
public List<int> bulletID; // 子弹 ID 列表
// ---- Addressables 标签 ----
const string turret_AALabel = "PTCB"; // 炮台统一标签
const string turret_AALabel = "PTCBZS"; // 炮台统一标签
const string defaultSubLabel = "Default"; // 默认子标签
// ---- 路径→ID 映射(用于 Addressables 加载时反查) ----
@@ -63,14 +64,21 @@ public class TurretResourcesData
foreach (var item in list)
{
// 战神(turretType==2)的 prefabTurretResourcesPath 可能为空,不跳过
// 用 turretNumber 构造默认路径,以便 Addressables 按名匹配
if (string.IsNullOrEmpty(item.prefabTurretResourcesPath))
continue;
{
if (item.turretType == 2)
item.prefabTurretResourcesPath = item.turretNumber.ToString();
else
continue; // 炮台/翅膀路径为空则跳过
}
turretPrefabPathDic[item.prefabTurretResourcesPath] = item.turretNumber;
turretSpritePathDic[item.prefabTurretResourcesPath] = item.turretNumber;
turretDataDic[item.turretNumber] = item;
Debug.Log($"[TurretResourcesData] 加载炮台: ID={item.turretNumber}, Path={item.prefabTurretResourcesPath}, Type={item.turretType}, BulletIDs=[{string.Join(",", item.bulletID)}]");
Debug.Log($"[TurretResourcesData] 加载炮台: ID={item.turretNumber}, Path={item.prefabTurretResourcesPath}, Type={item.turretType}, PrefabType={item.prefabType}, BulletIDs=[{string.Join(",", item.bulletID)}]");
}
Debug.Log($"[TurretResourcesData] 初始化完成,共 {turretDataDic.Count} 个炮台配置");
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b735663dac089e246945c2413cd23d29
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b6647e477243b8a46bcda4f13ac01b2c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

@@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: f0277d5948835d94bae3af07480375d6
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

@@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: 7567a70f6ccea3b45b705973b24c0832
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

@@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: 16ab7a0b63cd4634da7050e12dc6b53e
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

@@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: 71c9749eb6ba3fc47bb2edca35a9a31b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

@@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: 11856430d23b062489300a32ed378b37
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

@@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: e3465109cd9a7dc4ab52c0c25127c927
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZhanShenTurretData : TurretData
{
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 99a75d94f05f865448bfb611dc53d6e0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,104 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &4238903441396674916
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1094537691027082, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_Name
value: display_14080_0_DaTing
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalPosition.y
value: -100
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalPosition.z
value: 450
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalRotation.w
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalRotation.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 4152655903304744, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1094537691027082, guid: e98c45660a5c3f847a79ec1c3d635c79,
type: 3}
insertIndex: -1
addedObject: {fileID: -2281994139596073171}
m_SourcePrefab: {fileID: 100100000, guid: e98c45660a5c3f847a79ec1c3d635c79, type: 3}
--- !u!1 &4238027167845672942 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1094537691027082, guid: e98c45660a5c3f847a79ec1c3d635c79,
type: 3}
m_PrefabInstance: {fileID: 4238903441396674916}
m_PrefabAsset: {fileID: 0}
--- !u!114 &-2281994139596073171
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4238027167845672942}
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}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 21300000, guid: 7567a70f6ccea3b45b705973b24c0832, type: 3}
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: 02e157a8c3e5e6d4785499cf9b2e7a0a
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,129 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &6901804991175447082
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1989505751322186, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_Name
value: display_FishEntry_4022
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4909963178089994, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 20469676439576528, guid: 2ea26456af73e874b968bbb2a62eb1b1,
type: 3}
propertyPath: m_Depth
value: 100
objectReference: {fileID: 0}
- target: {fileID: 20469676439576528, guid: 2ea26456af73e874b968bbb2a62eb1b1,
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 8400000, guid: 88507e399a88aa744970855b92a576a8, type: 2}
- target: {fileID: 20469676439576528, guid: 2ea26456af73e874b968bbb2a62eb1b1,
type: 3}
propertyPath: m_CullingMask.m_Bits
value: 32
objectReference: {fileID: 0}
- target: {fileID: 1219447519580357060, guid: 2ea26456af73e874b968bbb2a62eb1b1,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6939146783735237921, guid: 2ea26456af73e874b968bbb2a62eb1b1,
type: 3}
propertyPath: m_CameraType
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1989505751322186, guid: 2ea26456af73e874b968bbb2a62eb1b1,
type: 3}
insertIndex: -1
addedObject: {fileID: -1492799418084695941}
m_SourcePrefab: {fileID: 100100000, guid: 2ea26456af73e874b968bbb2a62eb1b1, type: 3}
--- !u!1 &6903792157242547296 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1989505751322186, guid: 2ea26456af73e874b968bbb2a62eb1b1,
type: 3}
m_PrefabInstance: {fileID: 6901804991175447082}
m_PrefabAsset: {fileID: 0}
--- !u!114 &-1492799418084695941
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6903792157242547296}
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}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 21300000, guid: 71c9749eb6ba3fc47bb2edca35a9a31b, type: 3}
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: da2e91e8226e54b42abcbd38f262fc87
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,192 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &6159722929862992360
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1849442363226194, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_Name
value: display_FishEntry_6004
objectReference: {fileID: 0}
- target: {fileID: 4506759048170585, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.w
value: 0.031554535
objectReference: {fileID: 0}
- target: {fileID: 4506759048170585, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.x
value: 0.002802189
objectReference: {fileID: 0}
- target: {fileID: 4506759048170585, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.y
value: 0.9993439
objectReference: {fileID: 0}
- target: {fileID: 4506759048170585, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.z
value: 0.017557034
objectReference: {fileID: 0}
- target: {fileID: 4566363896813494, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.w
value: 0.21303469
objectReference: {fileID: 0}
- target: {fileID: 4566363896813494, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.x
value: -0.042178802
objectReference: {fileID: 0}
- target: {fileID: 4566363896813494, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.z
value: 0.040665578
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4985115279728356, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 20339676655408473, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_Depth
value: 100
objectReference: {fileID: 0}
- target: {fileID: 20339676655408473, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_ClearFlags
value: 2
objectReference: {fileID: 0}
- target: {fileID: 20339676655408473, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 8400000, guid: 88507e399a88aa744970855b92a576a8, type: 2}
- target: {fileID: 20339676655408473, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_CullingMask.m_Bits
value: 2097184
objectReference: {fileID: 0}
- target: {fileID: 20959965865241341, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_Depth
value: 100
objectReference: {fileID: 0}
- target: {fileID: 20959965865241341, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_ClearFlags
value: 2
objectReference: {fileID: 0}
- target: {fileID: 20959965865241341, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 8400000, guid: 88507e399a88aa744970855b92a576a8, type: 2}
- target: {fileID: 20959965865241341, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_CullingMask.m_Bits
value: 2097184
objectReference: {fileID: 0}
- target: {fileID: 2623819106329780147, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4107578034385559261, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4798213610893633200, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_CameraType
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8249417237614905816, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
propertyPath: m_CameraType
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1849442363226194, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
insertIndex: -1
addedObject: {fileID: 238999210265513417}
m_SourcePrefab: {fileID: 100100000, guid: f8f95a9643e36f247bff145737f9cc99, type: 3}
--- !u!1 &6160125291677637050 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1849442363226194, guid: f8f95a9643e36f247bff145737f9cc99,
type: 3}
m_PrefabInstance: {fileID: 6159722929862992360}
m_PrefabAsset: {fileID: 0}
--- !u!114 &238999210265513417
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6160125291677637050}
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}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 21300000, guid: 16ab7a0b63cd4634da7050e12dc6b53e, type: 3}
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: ebbe9de6affbb0d41bddae70a32bf645
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,129 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &1843417306324614929
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1666700369917857, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_Name
value: display_wargod_14901_0_dev
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4070965805884995, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 20461949316230737, guid: ad74bb04028d4b747b8f1400d1292fea,
type: 3}
propertyPath: m_Depth
value: 100
objectReference: {fileID: 0}
- target: {fileID: 20461949316230737, guid: ad74bb04028d4b747b8f1400d1292fea,
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 8400000, guid: 88507e399a88aa744970855b92a576a8, type: 2}
- target: {fileID: 20461949316230737, guid: ad74bb04028d4b747b8f1400d1292fea,
type: 3}
propertyPath: m_CullingMask.m_Bits
value: 32
objectReference: {fileID: 0}
- target: {fileID: 5399881684230315999, guid: ad74bb04028d4b747b8f1400d1292fea,
type: 3}
propertyPath: m_CameraType
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6005981253935536704, guid: ad74bb04028d4b747b8f1400d1292fea,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1666700369917857, guid: ad74bb04028d4b747b8f1400d1292fea,
type: 3}
insertIndex: -1
addedObject: {fileID: 7647864841298109566}
m_SourcePrefab: {fileID: 100100000, guid: ad74bb04028d4b747b8f1400d1292fea, type: 3}
--- !u!1 &1842193932855265456 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1666700369917857, guid: ad74bb04028d4b747b8f1400d1292fea,
type: 3}
m_PrefabInstance: {fileID: 1843417306324614929}
m_PrefabAsset: {fileID: 0}
--- !u!114 &7647864841298109566
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1842193932855265456}
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}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 21300000, guid: 11856430d23b062489300a32ed378b37, type: 3}
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: 1e88268d0a91a9f4d9943be093e1fc52
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,124 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &7686389060768714667
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1246098683530898, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_Name
value: display_wargod_14902_0_dev
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4611244993778273, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 20931301976795348, guid: 4f595fb5ecd11014a9cde6c29838dbe0,
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 8400000, guid: 88507e399a88aa744970855b92a576a8, type: 2}
- target: {fileID: 20931301976795348, guid: 4f595fb5ecd11014a9cde6c29838dbe0,
type: 3}
propertyPath: m_CullingMask.m_Bits
value: 32
objectReference: {fileID: 0}
- target: {fileID: 858769851679010607, guid: 4f595fb5ecd11014a9cde6c29838dbe0,
type: 3}
propertyPath: m_CameraType
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1217708101104974081, guid: 4f595fb5ecd11014a9cde6c29838dbe0,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1246098683530898, guid: 4f595fb5ecd11014a9cde6c29838dbe0,
type: 3}
insertIndex: -1
addedObject: {fileID: 5483741640936000229}
m_SourcePrefab: {fileID: 100100000, guid: 4f595fb5ecd11014a9cde6c29838dbe0, type: 3}
--- !u!1 &7687617563910619449 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1246098683530898, guid: 4f595fb5ecd11014a9cde6c29838dbe0,
type: 3}
m_PrefabInstance: {fileID: 7686389060768714667}
m_PrefabAsset: {fileID: 0}
--- !u!114 &5483741640936000229
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7687617563910619449}
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}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 21300000, guid: e3465109cd9a7dc4ab52c0c25127c927, type: 3}
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: 6a05c5e2a907a3b45a22c2b9d0525b03
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,154 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &8640232113691143622
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1132576329915826, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_Name
value: display_wargod_in_14053_0_dev
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalPosition.y
value: -100
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalPosition.z
value: 450
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalRotation.w
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalRotation.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 4167243999726043, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 20314698714499024, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_Depth
value: 100
objectReference: {fileID: 0}
- target: {fileID: 20314698714499024, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 8400000, guid: 88507e399a88aa744970855b92a576a8, type: 2}
- target: {fileID: 20314698714499024, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_CullingMask.m_Bits
value: 2097184
objectReference: {fileID: 0}
- target: {fileID: 2195830022923188213, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_CameraType
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2690932200899607448, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5081013505973641316, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5502391098067338320, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_Depth
value: 100
objectReference: {fileID: 0}
- target: {fileID: 5502391098067338320, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 8400000, guid: 88507e399a88aa744970855b92a576a8, type: 2}
- target: {fileID: 5502391098067338320, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_CullingMask.m_Bits
value: 2097184
objectReference: {fileID: 0}
- target: {fileID: 6262846207903513613, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
propertyPath: m_CameraType
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1132576329915826, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
insertIndex: -1
addedObject: {fileID: 876025161877615684}
m_SourcePrefab: {fileID: 100100000, guid: 23a2837da6303b941ad42b7428624ee0, type: 3}
--- !u!1 &8641355753491853428 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1132576329915826, guid: 23a2837da6303b941ad42b7428624ee0,
type: 3}
m_PrefabInstance: {fileID: 8640232113691143622}
m_PrefabAsset: {fileID: 0}
--- !u!114 &876025161877615684
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8641355753491853428}
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}
bulletPrefab_Two: {fileID: 0}
bulletPrefab: {fileID: 0}
turretNumber: 0
turretType: 1
displayName:
quality: 1
unlockLevel: 0
uiIconSprite: {fileID: 21300000, guid: f0277d5948835d94bae3af07480375d6, type: 3}
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: 9295687d67b05c34caee0693c3b43b9b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
File diff suppressed because it is too large Load Diff
@@ -33,9 +33,14 @@ public class UIHome_BY_ItemListPanels : SubUIBase
[Header("操作按钮")]
public Button btn_Get; //装备按钮
public Button btn_DuiHuan; //兑换按钮
[Header("道具兑换炮台翅膀")]
public Image propIcon;
public Slider slider; //当前碎片数量/兑换所需数量
public TextMeshProUGUI tmp_CurrSuiPian;//这里写<color=red>{当前碎片数量}</color>/{兑换所需数量}
[Header("道具兑换战神")]
public Image propIcon_ZS;
public Slider slider_ZS; //当前碎片数量/兑换所需数量
public TextMeshProUGUI tmp_CurrSuiPian_ZS;//这里写<color=red>{当前碎片数量}</color>/{兑换所需数量}
[Header("筛选下拉框")]
public TMP_Dropdown tMP_Type;
@@ -53,6 +58,17 @@ public class UIHome_BY_ItemListPanels : SubUIBase
public TextMeshProUGUI tmp_DetailDesc; //炮台描述
public TextMeshProUGUI tmp_YouXiaoQi; //有效期
public TextMeshProUGUI tmp_TeShuXiaoGuo; //特殊效果
[Header("战神")]
public Toggle toggle_ZhanShenTypeItemPrefab;
public Transform toggle_ZhanShenTypeItemParent;
public Toggle toggle_ZhanShenItemPrefab;
public Transform toggle_ZhanShenItemParent;
public TextMeshProUGUI tmp_ZHanShenName;
public TextMeshProUGUI tmp_ZHanShenLabel;
public Button btn_XuanZe;
[Header("面板")]
public GameObject obj_TurretWingPanel;
public GameObject obj_ZhanShenPanel;
// ---- 运行时数据 ----
private ItemPanelSelect _currentSelectType = ItemPanelSelect.None;
@@ -72,6 +88,28 @@ public class UIHome_BY_ItemListPanels : SubUIBase
/// <summary>Toggle → TurretResourcesData 映射</summary>
private Dictionary<Toggle, TurretResourcesData> _toggleDataMap = new Dictionary<Toggle, TurretResourcesData>();
// ---- 战神运行时数据 ----
/// <summary>当前选中的战神类型(按 quality 分组)</summary>
private int _selectedZhanShenType = -1;
/// <summary>当前选中的战神编号</summary>
private int _selectedZhanShenNumber = -1;
/// <summary>战神类型 Toggle 实例</summary>
private List<Toggle> _instantiatedZSTypeToggles = new List<Toggle>();
/// <summary>战神道具 Toggle 实例</summary>
private List<Toggle> _instantiatedZSItemToggles = new List<Toggle>();
/// <summary>战神类型 Toggle → quality 映射</summary>
private Dictionary<Toggle, int> _zsTypeToggleMap = new Dictionary<Toggle, int>();
/// <summary>战神道具 Toggle → TurretResourcesData 映射</summary>
private Dictionary<Toggle, TurretResourcesData> _zsItemToggleMap = new Dictionary<Toggle, TurretResourcesData>();
/// <summary>战神兑换 UI 的父节点</summary>
private GameObject _duiHuanParent_ZS;
// ==================== 生命周期 ====================
public void Start()
@@ -83,11 +121,20 @@ public class UIHome_BY_ItemListPanels : SubUIBase
btn_Get.onClick.AddListener(OnClickGet);
btn_DuiHuan.onClick.AddListener(OnClickDuiHuan);
if (btn_XuanZe != null)
btn_XuanZe.onClick.AddListener(OnClickXuanZe);
if (tMP_Type != null)
tMP_Type.onValueChanged.AddListener(OnDropdownChanged);
if (toggle_TurretItemPrefab != null)
toggle_TurretItemPrefab.gameObject.SetActive(false);
if (toggle_WingItemPrefab != null)
toggle_WingItemPrefab.gameObject.SetActive(false);
if (toggle_ZhanShenTypeItemPrefab != null)
toggle_ZhanShenTypeItemPrefab.gameObject.SetActive(false);
if (toggle_ZhanShenItemPrefab != null)
toggle_ZhanShenItemPrefab.gameObject.SetActive(false);
// 面板启动默认加载炮台列表
UpdateSelectType(ItemPanelSelect.Turrect);
@@ -129,6 +176,16 @@ public class UIHome_BY_ItemListPanels : SubUIBase
RefreshDropdownOptions(itemPanel);
UpdateScrollViewVisibility(itemPanel);
// 战神面板:独立的二级列表(类型 + 道具),不走 RebuildItemList
if (itemPanel == ItemPanelSelect.ZS)
{
// 默认选中已装备的战神编号
var equipped = GetUserEquipped();
_selectedZhanShenNumber = (equipped != null && int.TryParse(equipped.number, out int n)) ? n : -1;
RebuildZhanShenTypeList();
return;
}
// 切换到翅膀时,默认选中已装备的翅膀;无装备则先清空,列表会自动选第一个
if (itemPanel == ItemPanelSelect.Wing)
{
@@ -150,6 +207,16 @@ public class UIHome_BY_ItemListPanels : SubUIBase
/// </summary>
private void UpdateScrollViewVisibility(ItemPanelSelect selected)
{
bool isZS = selected == ItemPanelSelect.ZS;
// 切换主面板:战神有独立面板,炮台/翅膀共用一个面板
if (obj_TurretWingPanel != null)
obj_TurretWingPanel.SetActive(!isZS);
if (obj_ZhanShenPanel != null)
obj_ZhanShenPanel.SetActive(isZS);
if (isZS) return; // 战神面板有自己的列表,不需要显示炮台/翅膀的 Scroll View
bool showWing = selected == ItemPanelSelect.Wing;
bool showTurret = !showWing; // 炮台和战神共用 turret 的列表
@@ -375,6 +442,269 @@ public class UIHome_BY_ItemListPanels : SubUIBase
_toggleDataMap.Clear();
}
// ==================== 战神列表(二级列表:类型 + 道具) ====================
/// <summary>prefabType → 中文名(战神分类:1=国色天香 2=西游传说 3=山海奇闻)</summary>
private static string PrefabTypeName(int prefabType)
{
return prefabType switch { 1 => "国色天香", 2 => "西游传说", 3 => "山海奇闻", _ => "未知" };
}
/// <summary>从数据表读取战神的 prefabType</summary>
private static int GetItemPrefabType(int turretNumber)
{
var data = TurretResourcesData.GetTurretData(turretNumber);
return data != null ? data.prefabType : 0;
}
/// <summary>重建战神类型列表(按 prefabType 分组:国色天香/西游传说/山海奇闻)</summary>
private void RebuildZhanShenTypeList()
{
ClearZhanShenTypeList();
ClearZhanShenItemList();
ClearPreview();
var allItems = TurretResourcesData.GetTurretDataByType(2); // 2=战神
allItems = FilterUnsoldItems(allItems);
// 按 prefabType 分组
var typeGroups = new Dictionary<int, List<TurretResourcesData>>();
foreach (var item in allItems)
{
int pt = item.prefabType;
if (!typeGroups.ContainsKey(pt))
typeGroups[pt] = new List<TurretResourcesData>();
typeGroups[pt].Add(item);
}
var sortedTypes = new List<int>(typeGroups.Keys);
sortedTypes.Sort();
if (sortedTypes.Count == 0)
{
if (tmp_ZHanShenName != null) tmp_ZHanShenName.text = "";
if (tmp_ZHanShenLabel != null) tmp_ZHanShenLabel.text = "";
RefreshDuiHuanUI_ZS(-1);
return;
}
// 查找已装备战神所在类型
int equippedType = -1;
if (_selectedZhanShenNumber > 0)
equippedType = GetItemPrefabType(_selectedZhanShenNumber);
Toggle lastTypeToggle = null;
foreach (var pt in sortedTypes)
{
var toggleGo = Instantiate(toggle_ZhanShenTypeItemPrefab.gameObject, toggle_ZhanShenTypeItemParent);
toggleGo.SetActive(true);
var toggle = toggleGo.GetComponent<Toggle>();
// 设置类型名称
var tmp = toggleGo.GetComponentInChildren<TextMeshProUGUI>();
if (tmp != null)
tmp.text = PrefabTypeName(pt);
tmp = toggleGo.transform.GetChild(1).GetChild(0).GetComponent<TextMeshProUGUI>();
if (tmp != null)
tmp.text = PrefabTypeName(pt);
int prefabTypeVal = pt;
toggle.onValueChanged.AddListener((isOn) =>
{
if (isOn) RebuildZhanShenItemList(prefabTypeVal);
});
if (pt == equippedType)
lastTypeToggle = toggle;
_zsTypeToggleMap[toggle] = pt;
_instantiatedZSTypeToggles.Add(toggle);
}
// 选中已装备类型,否则选第一个
if (lastTypeToggle != null)
lastTypeToggle.isOn = true;
else if (_instantiatedZSTypeToggles.Count > 0)
_instantiatedZSTypeToggles[0].isOn = true;
}
/// <summary>重建战神道具列表(指定 prefabType 下)</summary>
private void RebuildZhanShenItemList(int prefabType)
{
_selectedZhanShenType = prefabType;
ClearZhanShenItemList();
ClearPreview();
var allItems = TurretResourcesData.GetTurretDataByType(2);
allItems = FilterUnsoldItems(allItems);
// 筛选指定 prefabType
var filtered = allItems.FindAll(d => d.prefabType == prefabType);
// 排序:已拥有在前
filtered.Sort((a, b) =>
{
bool aOwned = IsItemOwned(a.turretNumber);
bool bOwned = IsItemOwned(b.turretNumber);
if (aOwned && !bOwned) return -1;
if (!aOwned && bOwned) return 1;
return a.turretNumber.CompareTo(b.turretNumber);
});
if (filtered.Count == 0)
{
if (tmp_ZHanShenName != null) tmp_ZHanShenName.text = "";
if (tmp_ZHanShenLabel != null) tmp_ZHanShenLabel.text = "";
RefreshDuiHuanUI_ZS(-1);
return;
}
Toggle lastItemToggle = null;
foreach (var resData in filtered)
{
var toggleGo = Instantiate(toggle_ZhanShenItemPrefab.gameObject, toggle_ZhanShenItemParent);
toggleGo.SetActive(true);
var toggle = toggleGo.GetComponent<Toggle>();
var toggleDisplay = toggleGo.GetComponent<UIHome_BY_ItemToggleDisplay>();
// 设置图标(和炮台一样从 TurretData.uiIconSprite 获取)
if (toggleDisplay != null && resData != null)
{
GameObject turretPrefab = TurretResourcesData.GetTurretPrefab(resData.turretNumber);
if (turretPrefab != null)
{
TurretData turretData = turretPrefab.GetComponent<TurretData>();
if (turretData != null && turretData.uiIconSprite != null)
toggleDisplay.SetSprite(turretData.uiIconSprite);
}
bool isOwned = IsItemOwned(resData.turretNumber);
bool isEquipped = IsItemEquipped(resData.turretNumber);
toggleDisplay.SetLockState(!isOwned);
toggleDisplay.SetEquipped(isEquipped);
}
int turretNumber = resData.turretNumber;
toggle.onValueChanged.AddListener((isOn) =>
{
if (isOn) OnZhanShenItemSelected(turretNumber);
});
if (turretNumber == _selectedZhanShenNumber)
lastItemToggle = toggle;
_zsItemToggleMap[toggle] = resData;
_instantiatedZSItemToggles.Add(toggle);
}
// 恢复选中
if (lastItemToggle != null)
lastItemToggle.isOn = true;
else if (_instantiatedZSItemToggles.Count > 0)
_instantiatedZSItemToggles[0].isOn = true;
}
private void ClearZhanShenTypeList()
{
foreach (var toggle in _instantiatedZSTypeToggles)
{
if (toggle != null)
Destroy(toggle.gameObject);
}
_instantiatedZSTypeToggles.Clear();
_zsTypeToggleMap.Clear();
}
private void ClearZhanShenItemList()
{
foreach (var toggle in _instantiatedZSItemToggles)
{
if (toggle != null)
Destroy(toggle.gameObject);
}
_instantiatedZSItemToggles.Clear();
_zsItemToggleMap.Clear();
}
// ==================== 战神选中 / 详情 ====================
private void OnZhanShenItemSelected(int turretNumber)
{
_selectedZhanShenNumber = turretNumber;
_selectedTurretNumber = turretNumber; // 同步给 OnClickGet/OnClickDuiHuan 使用
RefreshZhanShenDetail(turretNumber);
}
/// <summary>刷新战神详情:名字、标签、预览、兑换 UI(和翅膀一样用相机照出来)</summary>
private void RefreshZhanShenDetail(int turretNumber)
{
ClearPreview();
var resData = turretNumber > 0 ? TurretResourcesData.GetTurretData(turretNumber) : null;
GameObject prefab = resData != null ? TurretResourcesData.GetTurretPrefab(resData.turretNumber) : null;
TurretData turretData = prefab != null ? prefab.GetComponent<TurretData>() : null;
// ---- 名字 ----
string name = resData?.turretName ?? "";
if (turretData != null && !string.IsNullOrEmpty(turretData.displayName))
name = turretData.displayName;
if (tmp_ZHanShenName != null)
tmp_ZHanShenName.text = name;
// ---- 标签(分类 + 描述)----
string label = "";
if (resData != null && resData.prefabType > 0)
label = $"分类: {PrefabTypeName(resData.prefabType)}";
if (turretData != null && !string.IsNullOrEmpty(turretData.description))
label += (string.IsNullOrEmpty(label) ? "" : " | ") + turretData.description;
if (tmp_ZHanShenLabel != null)
tmp_ZHanShenLabel.text = label;
// ---- 兑换 UI ----
RefreshDuiHuanUI_ZS(turretNumber);
// ---- 选择按钮:已拥有才可点击装备 ----
bool isOwned = turretNumber > 0 && IsItemOwned(turretNumber);
if (btn_XuanZe != null)
btn_XuanZe.interactable = isOwned;
// ---- 缩略图(和翅膀一样显示 RawImage)----
if (rawImg_DetailPreview != null)
rawImg_DetailPreview.gameObject.SetActive(true);
// ---- 预览(和翅膀一样实例化预制体到预览区)----
if (resData != null && previewParent != null && prefab != null)
{
_currentPreviewObj = Instantiate(prefab, previewParent);
_currentPreviewObj.SetActive(true);
}
}
// ==================== 战神选择按钮 ====================
/// <summary>选择按钮:装备选中的战神</summary>
private void OnClickXuanZe()
{
if (_selectedZhanShenNumber < 0)
{
Debug.Log("[UIHome_BY_ItemListPanels] 未选中任何战神");
return;
}
bool isOwned = IsItemOwned(_selectedZhanShenNumber);
if (isOwned)
{
EquipTurret(_selectedZhanShenNumber);
}
else
{
Debug.Log($"[UIHome_BY_ItemListPanels] 未拥有战神 #{_selectedZhanShenNumber},需先兑换");
}
}
// ==================== GameManager 用户数据关联 ====================
/// <summary>检查玩家是否拥有指定炮台/翅膀/战神。</summary>
@@ -628,7 +958,11 @@ public class UIHome_BY_ItemListPanels : SubUIBase
}
}
RebuildItemList();
// 战神走独立的二级列表重建
if (_currentSelectType == ItemPanelSelect.ZS)
RebuildZhanShenTypeList();
else
RebuildItemList();
});
}
@@ -657,6 +991,8 @@ public class UIHome_BY_ItemListPanels : SubUIBase
if (select != ItemPanelSelect.None && select != _currentSelectType)
UpdateSelectType(select);
else if (_currentSelectType == ItemPanelSelect.ZS)
RebuildZhanShenTypeList();
else
RebuildItemList();
}
@@ -720,6 +1056,54 @@ public class UIHome_BY_ItemListPanels : SubUIBase
btn_DuiHuan.interactable = info.ownedCount >= info.config.fragmentCount;
}
/// <summary>刷新战神兑换相关的 UI:碎片图标、进度条、文本(使用 propIcon_ZS / slider_ZS / tmp_CurrSuiPian_ZS)</summary>
private void RefreshDuiHuanUI_ZS(int turretNumber)
{
// 战神兑换 UI 父节点:以 propIcon_ZS 的父对象为准
if (_duiHuanParent_ZS == null && propIcon_ZS != null)
_duiHuanParent_ZS = propIcon_ZS.transform.parent.gameObject;
if (turretNumber <= 0)
{
if (_duiHuanParent_ZS != null) _duiHuanParent_ZS.SetActive(false);
return;
}
bool isOwned = IsItemOwned(turretNumber);
var info = isOwned ? (null, 0) : GetFragmentInfo(turretNumber);
bool hasFragment = info.config != null;
// 统一控制战神兑换 UI 父节点的显隐
if (_duiHuanParent_ZS != null)
_duiHuanParent_ZS.SetActive(hasFragment);
if (!hasFragment) return;
// 设置图标(异步加载网络图片)
if (propIcon_ZS != null)
info.config.GetSprite(sprite => propIcon_ZS.sprite = sprite);
// 进度条
if (slider_ZS != null)
{
slider_ZS.maxValue = info.config.fragmentCount;
slider_ZS.value = Mathf.Min(info.ownedCount, info.config.fragmentCount);
slider_ZS.interactable = false; // 只读
}
// 文本:"当前数量/所需数量"
if (tmp_CurrSuiPian_ZS != null)
{
bool canExchange = info.ownedCount >= info.config.fragmentCount;
string color = canExchange ? "green" : "red";
tmp_CurrSuiPian_ZS.text = $"<color={color}>{info.ownedCount}</color>/{info.config.fragmentCount}";
}
// 战神没有独立兑换按钮,复用 btn_DuiHuan(若在面板外则同样可用)
if (btn_DuiHuan != null)
btn_DuiHuan.interactable = info.ownedCount >= info.config.fragmentCount;
}
/// <summary>根据道具编号查找碎片配置和拥有的碎片数量。</summary>
private (PropFragmentConfig config, int ownedCount) GetFragmentInfo(int turretNumber)
{
@@ -784,6 +1168,8 @@ public class UIHome_BY_ItemListPanels : SubUIBase
private void OnDestroy()
{
ClearItemList();
ClearZhanShenItemList();
ClearZhanShenTypeList();
ClearPreview();
OnItemSelectedCallback = null;
}
@@ -49,7 +49,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteBorder: {x: 8, y: 0, z: 8, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@@ -106,6 +106,19 @@ TextureImporter:
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
@@ -113,7 +126,7 @@ TextureImporter:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
internalID: 1537655665
vertices: []
indices:
edges: []