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