21 lines
419 B
C#
21 lines
419 B
C#
using UnityEngine;
|
|
|
|
public class MiniDroplet : MonoBehaviour
|
|
{
|
|
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
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
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|