Cascading

This commit is contained in:
2025-12-15 03:55:18 +08:00
parent 2a3bcf7423
commit 3d22cb6abf
4 changed files with 5 additions and 6 deletions

View File

@@ -25,8 +25,7 @@ namespace Services {
}
GemView gemView;
float randomOffset = Random.Range(1f, 2.5f);
Vector2 vector2Position = new Vector2(position.x, position.y + dropHeight * randomOffset);
Vector2 vector2Position = new Vector2(position.x, position.y + dropHeight);
if (this.gemTypeToPools[type].Count > 0) {
gemView = this.gemTypeToPools[type].Pop();