freezer break implement
This commit is contained in:
parent
bd588b79a0
commit
7a25b07c31
|
|
@ -45064,6 +45064,7 @@ MonoBehaviour:
|
|||
_bigLogCutParticle: {fileID: 77225483305886520}
|
||||
_hugeLogHitParticle: {fileID: 4465514175500312505}
|
||||
_hugeLogCutParticle: {fileID: 132537577928216743}
|
||||
_freezerBreakParticle: {fileID: 3094020854116406872}
|
||||
_peachHitParticle: {fileID: 6214329999445395356}
|
||||
_peachCutParticle: {fileID: 8065249703308610300}
|
||||
_catAnimationOffsetStart: -0.5
|
||||
|
|
|
|||
|
|
@ -289,6 +289,7 @@ namespace HeavenStudio.Games
|
|||
[SerializeField] private ParticleSystem _bigLogCutParticle;
|
||||
[SerializeField] private ParticleSystem _hugeLogHitParticle;
|
||||
[SerializeField] private ParticleSystem _hugeLogCutParticle;
|
||||
[SerializeField] private ParticleSystem _freezerBreakParticle;
|
||||
[SerializeField] private ParticleSystem _peachHitParticle;
|
||||
[SerializeField] private ParticleSystem _peachCutParticle;
|
||||
|
||||
|
|
@ -1018,6 +1019,9 @@ namespace HeavenStudio.Games
|
|||
spawnedParticle.PlayScaledAsyncAllChildren(0.5f);
|
||||
break;
|
||||
case HugeType.freezer:
|
||||
if (hit) break;
|
||||
ParticleSystem spawnedParticle1 = Instantiate(_freezerBreakParticle, _particleCutPoint);
|
||||
spawnedParticle1.PlayScaledAsyncAllChildren(0.5f);
|
||||
break;
|
||||
case HugeType.peach:
|
||||
ParticleSystem spawnedParticle2 = Instantiate(hit ? _peachHitParticle : _peachCutParticle, hit ? _particleHitPoint : _particleCutPoint);
|
||||
|
|
|
|||
Loading…
Reference in a new issue