This commit is contained in:
orsolya-st
2026-06-06 17:05:11 +02:00
parent 7031e19123
commit 7070d4506f
+5 -1
View File
@@ -2,10 +2,14 @@ using UnityEngine;
public class MiniDroplet : MonoBehaviour public class MiniDroplet : MonoBehaviour
{ {
// Start is called once before the first execution of Update after the MonoBehaviour is created // Start is called once before the first execution of Update after the MonoBehaviour is created
void Start() void Start()
{ {
float size = Random.Range(0.3f, 0.7f);
Vector2 targetSize = new Vector2(size, size);
transform.localScale = targetSize;
} }
// Update is called once per frame // Update is called once per frame