20 lines
494 B
C#
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>();
|
|
}
|
|
}
|
|
}
|