16 lines
235 B
C#
16 lines
235 B
C#
using UnityEngine;
|
|
|
|
[ExecuteInEditMode]
|
|
public class TerrainRand : MonoBehaviour
|
|
{
|
|
public GameObject prefab;
|
|
|
|
public int count = 1000;
|
|
|
|
public float randomRotationX;
|
|
|
|
public float randomRotationY;
|
|
|
|
public float randomRotationZ;
|
|
}
|