Files
ScienceLab.GravityForce/Assets/Materials/Nature/Scripts/ButterflySpawnArea.cs
2026-03-17 13:40:09 +02:00

20 lines
494 B
C#

using UnityEngine;
namespace IdyllicFantasyNature
{
public class ButterflySpawnArea : MonoBehaviour
{
public Collider Collider { get; set; }
[Tooltip("the minimum cooldown for the butterfly to respawn")]
[Min(0)] public float MinCooldown;
[Tooltip("the maximum cooldown for the butterfly to respawn")]
[Min(1)] public float MaxCooldown;
private void Start()
{
Collider = GetComponent<Collider>();
}
}
}