|
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
[ExecuteInEditMode]
|
|
public class TerrainRand : MonoBehaviour
|
|
{
|
|
public GameObject prefab;
|
|
public int count = 1000;
|
|
public float randomRotationX = 0;
|
|
public float randomRotationY = 0;
|
|
public float randomRotationZ = 0;
|
|
}
|