| 12345678910111213141516171819202122 |
- using System.Collections.Generic;
- using UnityEngine;
- public class ForestData : MonoBehaviour
- {
- public static float spawnRate = .1f;
- public static float minHeight = 8f;
- public static float maxHeight = 13f;
- public static Queue<Vector3> spawnable = new Queue<Vector3>();
- //Tricky
- public GameObject[] TreesTemp;
- public static GameObject[] Trees;
- private void Awake()
- {
- Trees = TreesTemp;
- }
- }
|