r2mods/ilspy_dump/ror2_csproj/SetRandomScale.cs

15 lines
259 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
public class SetRandomScale : MonoBehaviour
{
public float minimumScale;
public float maximumScale;
private void Start()
{
float num = Random.Range(minimumScale, maximumScale);
base.transform.localScale = Vector3.one * num;
}
}