From 34cb342fd287b318047e92073eef2af5c134eeb5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-DDTRVOR\\asus" <1162187704@qq.com> Date: Sun, 22 Dec 2024 20:56:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BA=BA=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Blacksmith/Assets/Pack/spine/player.meta | 8 + .../Pack/spine/player/tj_hero_1.atlas.txt | 62 +++++++ .../spine/player/tj_hero_1.atlas.txt.meta | 7 + .../Assets/Pack/spine/player/tj_hero_1.png | Bin 0 -> 13557 bytes .../Pack/spine/player/tj_hero_1.png.meta | 153 ++++++++++++++++++ .../Pack/spine/player/tj_hero_1.skel.bytes | Bin 0 -> 23116 bytes .../spine/player/tj_hero_1.skel.bytes.meta | 7 + .../Pack/spine/player/tj_hero_1_Atlas.asset | 19 +++ .../spine/player/tj_hero_1_Atlas.asset.meta | 8 + .../Pack/spine/player/tj_hero_1_Material.mat | 47 ++++++ .../spine/player/tj_hero_1_Material.mat.meta | 8 + .../spine/player/tj_hero_1_SkeletonData.asset | 31 ++++ .../player/tj_hero_1_SkeletonData.asset.meta | 8 + .../Resources/Prefab/player/player.prefab | 135 +++++++++++++++- .../Assets/Script/Battle/BattleManager.cs | 13 +- .../Assets/Script/Battle/BattleManager.cs.rej | 24 +++ .../Script/Battle/BattleManager.cs.rej.meta | 7 + .../Assets/Script/Battle/Player/PlayerItem.cs | 51 ++++++ Blacksmith/Assets/Script/PrefabPool.cs | 19 +++ Blacksmith/Assets/Script/PrefabPool.cs.rej | 28 ++++ .../Assets/Script/PrefabPool.cs.rej.meta | 7 + 21 files changed, 633 insertions(+), 9 deletions(-) create mode 100644 Blacksmith/Assets/Pack/spine/player.meta create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt.meta create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1.png create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1.png.meta create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1.skel.bytes create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1.skel.bytes.meta create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1_Atlas.asset create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1_Atlas.asset.meta create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1_Material.mat create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1_Material.mat.meta create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1_SkeletonData.asset create mode 100644 Blacksmith/Assets/Pack/spine/player/tj_hero_1_SkeletonData.asset.meta create mode 100644 Blacksmith/Assets/Script/Battle/BattleManager.cs.rej create mode 100644 Blacksmith/Assets/Script/Battle/BattleManager.cs.rej.meta create mode 100644 Blacksmith/Assets/Script/PrefabPool.cs.rej create mode 100644 Blacksmith/Assets/Script/PrefabPool.cs.rej.meta diff --git a/Blacksmith/Assets/Pack/spine/player.meta b/Blacksmith/Assets/Pack/spine/player.meta new file mode 100644 index 00000000..275f04c6 --- /dev/null +++ b/Blacksmith/Assets/Pack/spine/player.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 82f3ff56d3a3784478958bb0d726e26c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt new file mode 100644 index 00000000..33f42c81 --- /dev/null +++ b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt @@ -0,0 +1,62 @@ +tj_hero_1.png + size: 256, 256 + filter: Linear, Linear + pma: true +mod_1/Down_syndrome_a_01 + bounds: 96, 232, 24, 22 + offsets: 0, 1, 24, 23 +mod_1/Down_syndrome_a_02 + bounds: 96, 122, 22, 21 + offsets: 1, 0, 30, 21 +mod_1/Down_syndrome_a_04 + bounds: 188, 162, 66, 83 + offsets: 1, 0, 68, 83 + rotate: 180 +mod_1/Down_syndrome_a_05 + bounds: 2, 121, 57, 32 + rotate: 90 +mod_1/Down_syndrome_a_06 + bounds: 181, 222, 25, 32 +mod_1/Down_syndrome_a_07 + bounds: 73, 112, 24, 31 + offsets: 0, 1, 24, 32 +mod_2/Down_syndrome_b_01 + bounds: 2, 199, 17, 24 + offsets: 0, 1, 17, 25 +mod_2/Down_syndrome_b_02 + bounds: 234, 228, 18, 26 + offsets: 0, 0, 22, 26 +mod_2/Down_syndrome_b_03 + bounds: 107, 179, 92, 75 + offsets: 0, 0, 96, 75 +mod_2/Down_syndrome_b_04 + bounds: 44, 144, 77, 57 + offsets: 1, 0, 86, 61 + rotate: 180 +mod_2/Down_syndrome_b_05 + bounds: 2, 184, 19, 13 + offsets: 1, 3, 21, 17 +mod_2/Down_syndrome_b_06 + bounds: 202, 148, 18, 13 + offsets: 1, 1, 20, 15 +mod_2/Down_syndrome_b_07 + bounds: 183, 121, 31, 14 +mod_2/Down_syndrome_b_08 + bounds: 118, 122, 31, 14 +mod_3/Down_syndrome_c_01 + bounds: 2, 177, 105, 77 +mod_3/Down_syndrome_c_02 + bounds: 214, 108, 55, 40 + offsets: 0, 0, 55, 41 + rotate: 270 +mod_3/Down_syndrome_c_03 + bounds: 130, 135, 79, 50 + offsets: 0, 0, 80, 50 + rotate: 180 +mod_3/Down_syndrome_c_04 + bounds: 36, 109, 36, 34 + offsets: 0, 7, 36, 41 +mod_3/Down_syndrome_c_05 + bounds: 109, 148, 38, 38 + offsets: 0, 8, 41, 46 + rotate: 90 diff --git a/Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt.meta b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt.meta new file mode 100644 index 00000000..0c7e35ce --- /dev/null +++ b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.atlas.txt.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5a0b745f2cddc2c468a7d0d72a68bc24 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Blacksmith/Assets/Pack/spine/player/tj_hero_1.png b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8256cc6f59dac7b3aee9bbf5e8ff0b6aff41badf GIT binary patch literal 13557 zcma)C5vjh>F%zj8<9q&q(eedYL_liq$DI&N=jOCB~(NZ9zeR3E(vMa zef<;O`(^IjPjhGH{_dPJC&|cAi3T_L271*fPU1FJBvwBtQ3 z6%CVD;_8v2O0Htc{>-v*nuZTK#jNFJq;`A!Jx%nL4N^T!6_O*}#U-Tnv(y$-R1WH6 zCOgU{5fowjQv&Fyk%_XEgH7Nq5jGtYC$S;Upnf9SJX;K z+RoIY)7sgeTdzRtzMXvRnWIJB zzAnyvatlD0e3}kPDKPixQ#Z^I)u}LWdCKNCWfw7hTdzvUu)flgJNKo;dw=uv8q6KT zLK(}C$#0uu^4{~Ql+;zET8I3&C6UGJ^0lOPuE||o~85?QH&j^=S*6;kJ-Wh8bswd$bnJ>mE zNN+R7@$FCJkBy6on0H0-J0(wM3hYB)*3jQ?rjSVb<}1cv)$4_7%6T_7fmX^?VQR|? zU%x6%syn~MA2R&Y$UA%0+9S(Qh>tqwlde^)jB;C5lvjW_BirsdS4hhAy2sang3Swb zRi(u6*0q1yz~x}sRd=TA)(Km50l8h|&9HZP$?m}u>fe8F^546)_4*@To)uo*{6z&z z|EmG#0AoWFK!l}MW#W;zkG;YAVq@&zKfGSR4qeXYcw*0Xo?x?YE>EsLVsCPvEk|8< zN3=IwbzfvJW6#e^u-NSDi?gxoF)a3Gf4=^DXS}Hzi#^|6`@JyRdwo3d^#k@h_HuH3 zY!*B0;Ag1|fT*&Lx{7JY?CwODZl4i|U&&bKV4}Xx&7_J$syyUdhxS)8$(_fjw&FA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8tOkPi>X zpFpNrSgZx>& znXe@8+^Wp_rtC{)&4`~?PA#>-&rp=2<@iU+K@>6UP7qIZx}j@BWjdjv;=@&-o$C>y zAO7x1sv1R;p22$GirZ(|qHlm-rL0B|2sHsRBi;iA#HZ{sMPSzAS8zY9&sP S(-H*!nU02`dabH`^#1@~0{E-| literal 0 HcmV?d00001 diff --git a/Blacksmith/Assets/Pack/spine/player/tj_hero_1.png.meta b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.png.meta new file mode 100644 index 00000000..1876d9b6 --- /dev/null +++ b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.png.meta @@ -0,0 +1,153 @@ +fileFormatVersion: 2 +guid: e0ca814bbf042854e96e49b63e1ccf14 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 0 + 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: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + 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: 0 + 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: 0 + 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: WebGL + 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: diff --git a/Blacksmith/Assets/Pack/spine/player/tj_hero_1.skel.bytes b/Blacksmith/Assets/Pack/spine/player/tj_hero_1.skel.bytes new file mode 100644 index 0000000000000000000000000000000000000000..e5b6187c06805623e2eb6bb7398e316d34e27f60 GIT binary patch literal 23116 zcmeIZ1yoeu_cuJjbkEQ*bO-_}NY6dzo@-!$iJf3426lj0NZ2SU7B+S#%)Mh_U}AT7 zcR%OO4BxLJzyErl^eLtm^=U$Ls+7aw`047Vj2PHu=%|6+holVX(Iu%%&02qxLjNY!{+ks3H!0$8 zQe-7k^4}IQsj@{(3i}&a*$FIF*$GUl>;xuN;Y3s=_1*sV3zI7Qg-MnD!lcT6VN$r$ zfRyfCYSs8V-T#RZ`kxrJ{}bas+KBj1h)6Rdw31giLACx9!{SvHh_L^Ju((?V!s2cf z42!!}F#e;vQD);|mEyo@x5QBe!xBdo3`-nUFf4IY!3cL33`t2z#ZS{eADGVJuz!Dk zgvlubdxV;4B}cqC=v?j3|Ak-}m)bdgiLv_JbXa;_U0IM4OD+w>^lU!M$#Z|Mya31v_aW>li|n>32j;QUxL$)w6F?B@=SN!>!U4apVDJmXZ$6&Uyie9HXS8mIC~nQ z{qmtzY8-HPu~jgdS0{9;#Q5|niQEjGDhGphXP@M7L~PKtYVr=&+V;Y@V)aa>+l<|R zNgkRPS0P!8SI2kv1oX0R2@-YA`%7|y1oxdqXQ+%B(Ig*XN(38t`k%dx&ZNz(kPPD; z^v^Fs->>^Hsx#WZB-84Tt&ps(K>c<AD8p!P2*z~&OJ}Fn zSrw8IDr(;IEYzuWra7IJ{Tx#=zCtpRU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+zzVhI?|5*#bwSd|%0)6bjz;XF(D!+A5o>b#6s>0QHk zoS*pzoF)7LHxsPzs>aM*Uk=27W+mn^lMMkA*kby<%_?Qv?4Knp7Ks&`g;?R=+VU#= zv}DN~H#ULYGG~cxo7I^K|8M)LsO%^554RLUg`X_pk9?X5|COI#Zou3xH!9`x%Z)$t ziG}{oCno-p&wty>D*T-PN55mY=2!M}e#IkGWxxNQ@Kaya*hS~f{7m&fe)A81S>o^S zD^{Sw|9@(N6{?7VodB7Ithslq{3J0x&VRmySVDzLONp@rE1b1~KbB!P)QMyFKWf;u zG0)5C74Mg`3oSMf9uYONjJDs~nAo-2@*lk~U%tkJbt(^x(OhIDz^<~HEP+i4i{wGE z>A0ETbY&A`+dtvIKOS4$B6ZIu{oxjz`fbebZkY$_-`%Phs9B`hEi(bTMNWR~_}?F> zEpDN1x%9toMcaClXP0*;c9qRGCkJPX@?1QY2SzttW672*i6yYvVv*RbWv9&qr{jL; zwA)@hf?M=b>QgH#7N;lIru{AKI#I`Rv2X qci;Y=Xm+;nN1`jH4 + PrefabPool.ins.LoadObj("Prefab/player/player",index, (GameObject obj,int idex) => { - obj.transform.parent = playerParent[index]; + obj.transform.parent = playerParent[idex]; obj.transform.localPosition=Vector3.zero; - playerItems[index] = new PlayerRunState(); - playerItems[index].player = obj.GetComponent(); - playerItems[index].equipent = BattleEquipments[index]; - playerItems[index].RestState(); + playerItems[idex] = new PlayerRunState(); + playerItems[idex].player = obj.GetComponent(); + playerItems[idex].equipent = BattleEquipments[idex]; + playerItems[idex].RestState(); + playerItems[idex].player.SetModel(idex+1); }); } diff --git a/Blacksmith/Assets/Script/Battle/BattleManager.cs.rej b/Blacksmith/Assets/Script/Battle/BattleManager.cs.rej new file mode 100644 index 00000000..c3901b81 --- /dev/null +++ b/Blacksmith/Assets/Script/Battle/BattleManager.cs.rej @@ -0,0 +1,24 @@ +diff a/Blacksmith/Assets/Script/Battle/BattleManager.cs b/Blacksmith/Assets/Script/Battle/BattleManager.cs (rejected hunks) +@@ -295,15 +295,15 @@ + var index = i; + if (BattleEquipments[i].EquipmentLock) + { +- PrefabPool.ins.LoadObj("Prefab/player/player", (GameObject obj) => ++ PrefabPool.ins.LoadObj("Prefab/player/player",index, (GameObject obj,int idex) => + { +- obj.transform.parent = playerParent[index]; ++ obj.transform.parent = playerParent[idex]; + obj.transform.localPosition=Vector3.zero; +- playerItems[index] = new PlayerRunState(); +- playerItems[index].player = obj.GetComponent(); +- playerItems[index].equipent = BattleEquipments[index]; +- playerItems[index].RestState(); +- ++ playerItems[idex] = new PlayerRunState(); ++ playerItems[idex].player = obj.GetComponent(); ++ playerItems[idex].equipent = BattleEquipments[idex]; ++ playerItems[idex].RestState(); ++ playerItems[idex].player.SetModel(idex+1); + }); + } + } diff --git a/Blacksmith/Assets/Script/Battle/BattleManager.cs.rej.meta b/Blacksmith/Assets/Script/Battle/BattleManager.cs.rej.meta new file mode 100644 index 00000000..63041640 --- /dev/null +++ b/Blacksmith/Assets/Script/Battle/BattleManager.cs.rej.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 97b74a549b99c204480a3dffcd22dc98 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Blacksmith/Assets/Script/Battle/Player/PlayerItem.cs b/Blacksmith/Assets/Script/Battle/Player/PlayerItem.cs index 86410f61..a7682f26 100644 --- a/Blacksmith/Assets/Script/Battle/Player/PlayerItem.cs +++ b/Blacksmith/Assets/Script/Battle/Player/PlayerItem.cs @@ -2,6 +2,7 @@ using System; using System.Collections; using System.Collections.Generic; using cfg.BlacksmithData; +using Spine.Unity; using UnityEngine; using Random = UnityEngine.Random; using Vector3 = System.Numerics.Vector3; @@ -11,12 +12,56 @@ using Vector3 = System.Numerics.Vector3; /// public class PlayerItem : MonoBehaviour { + [SerializeField] private SkeletonAnimation spine; private BattleEquipment _battleEquipment; [SerializeField] private List _gameObjects = new List(); + + public playerAniType Type + { + get + { + return _type; + } + set + { + if (_type!=value) + { + _type = value; + switch (_type) + { + case playerAniType.play: + spine.state.SetAnimation(0, "attack_3", true); + break; + case playerAniType.wait: + spine.state.SetAnimation(0, "idle_3", true); + break; + default: + throw new ArgumentOutOfRangeException(); + } + } + } + } + private playerAniType _type = playerAniType.wait; + public void SetModel(int i) + { + spine.Skeleton.SetSkin("mod_"+i); + spine.Skeleton.SetSlotsToSetupPose(); + } public void SetData(BattleEquipment battleData) { + switch (_type) + { + case playerAniType.play: + spine.state.SetAnimation(0, "attack_3", true); + break; + case playerAniType.wait: + spine.state.SetAnimation(0, "idle_3", true); + break; + default: + throw new ArgumentOutOfRangeException(); + } _battleEquipment = battleData; if (_battleEquipment.Weapon!=null) { @@ -61,3 +106,9 @@ public class PlayerItem : MonoBehaviour } } + +public enum playerAniType +{ + play, + wait +} \ No newline at end of file diff --git a/Blacksmith/Assets/Script/PrefabPool.cs b/Blacksmith/Assets/Script/PrefabPool.cs index c4b19482..45b18df8 100644 --- a/Blacksmith/Assets/Script/PrefabPool.cs +++ b/Blacksmith/Assets/Script/PrefabPool.cs @@ -49,7 +49,26 @@ public class PrefabPool : MonoBehaviour } }); } + public void LoadObj(string key,int i,Action action) + { + //如果池中没有该游戏物体或者游戏物体的队列中已经没有剩余的游戏对象时。 + //在这种情况下需要实例化一个新的物体,然后在判断是否需要在池中新加一个健值对还是直接放入队列中去 + //然后把新生成的放入池中。 + + if (!objDic.ContainsKey(key)||objDic[key].Count==0) { + AssetBundleManager.ins.LoadAsset(key, (GameObject obj) => + { + obj.name = key; + obj.SetActive(true); + action.Invoke(obj,i); + }); + return; + } + var obj = objDic[key].Dequeue(); + obj.SetActive(true); + action.Invoke(obj,i); + } public void RecycleObj(GameObject obj) { //由于生成的预制体的name后面都会加上(Clone),所以我们需要将其去除 diff --git a/Blacksmith/Assets/Script/PrefabPool.cs.rej b/Blacksmith/Assets/Script/PrefabPool.cs.rej new file mode 100644 index 00000000..c49779a7 --- /dev/null +++ b/Blacksmith/Assets/Script/PrefabPool.cs.rej @@ -0,0 +1,28 @@ +diff a/Blacksmith/Assets/Script/PrefabPool.cs b/Blacksmith/Assets/Script/PrefabPool.cs (rejected hunks) +@@ -34,6 +34,26 @@ + obj.SetActive(true); + action.Invoke(obj); + } ++ public void LoadObj(string key,int i,Action action) ++ { ++ //如果池中没有该游戏物体或者游戏物体的队列中已经没有剩余的游戏对象时。 ++ //在这种情况下需要实例化一个新的物体,然后在判断是否需要在池中新加一个健值对还是直接放入队列中去 ++ //然后把新生成的放入池中。 ++ ++ if (!objDic.ContainsKey(key)||objDic[key].Count==0) { ++ AssetBundleManager.ins.LoadAsset(key, (GameObject obj) => ++ { ++ obj.name = key; ++ obj.SetActive(true); ++ action.Invoke(obj,i); ++ }); ++ return; ++ } ++ ++ var obj = objDic[key].Dequeue(); ++ obj.SetActive(true); ++ action.Invoke(obj,i); ++ } + + public void AddPond(string key,int num) + { diff --git a/Blacksmith/Assets/Script/PrefabPool.cs.rej.meta b/Blacksmith/Assets/Script/PrefabPool.cs.rej.meta new file mode 100644 index 00000000..669178af --- /dev/null +++ b/Blacksmith/Assets/Script/PrefabPool.cs.rej.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f167b224892e7e34aad7ca52a0bcc83e +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: