forked from andkok/MWS_2021
20 lines
390 B
C#
20 lines
390 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class test : MonoBehaviour
|
|
{
|
|
// Start is called before the first frame update
|
|
void Start(){
|
|
var terrain = gameObject.GetComponent<Terrain>();
|
|
Debug.Log(terrain.terrainData.detailResolution);
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|