How do I make C# member variables accessible to the “Default Properties” window in the editor? This code doesn’t do the trick:
using UnityEngine;
using System.Collections;
public class HeightmapTerrain : MonoBehaviour
{
public Vector3 mSize;
public Texture2D mHeightMap;
public Material mMaterial;
public uint mVertexResolution = 1024;
// et cetera
}
Thanks.