Cascading
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user