Commit f131a494 authored by Gerard Gascón's avatar Gerard Gascón
Browse files

feat: fixed spawn particles

parent bab2db51
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ Transform:
  serializedVersion: 2
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: 0.56, y: -8.47, z: 0}
  m_LocalScale: {x: 1, y: 1, z: 1}
  m_ConstrainProportionsScale: 0
  m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
  m_ConstrainProportionsScale: 1
  m_Children: []
  m_Father: {fileID: 0}
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -83,7 +83,7 @@ SpriteRenderer:
  m_Size: {x: 2.7, y: 4.8}
  m_AdaptiveModeThreshold: 0.5
  m_SpriteTileMode: 0
  m_WasSpriteAssigned: 1
  m_WasSpriteAssigned: 0
  m_MaskInteraction: 0
  m_SpriteSortPoint: 0
--- !u!114 &1908639354391246343
+2 −2
Original line number Diff line number Diff line
@@ -2056,8 +2056,8 @@ RectTransform:
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  m_AnchorMin: {x: 0.5, y: 0.5}
  m_AnchorMax: {x: 0.5, y: 0.5}
  m_AnchoredPosition: {x: -23, y: -1}
  m_SizeDelta: {x: 599.0315, y: 252.7164}
  m_AnchoredPosition: {x: -23, y: 0}
  m_SizeDelta: {x: 509.2837, y: 214.854}
  m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1127832730
MonoBehaviour:
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ namespace View.Scene {
				return growParticlePositions[^1].position;

			for (int i = 0; i < growParticlePositions.Length; i++) {
				if (_score.GrowPercentage < (i + 1) * iterationStep)
				if (_score.GrowPercentage < (i + 1) * iterationStep - .001f)
					return growParticlePositions[i].position;
			}