private static extern void INTERNAL_CALL_SetTreeInstance(TerrainData self, int index, ref TreeInstance instance); [MethodImpl(MethodImplOptions.InternalCall)]
public void SetTreeInstance(int index, TreeInstance instance) { TerrainData.INTERNAL_CALL_SetTreeInstance(this, index, ref instance); }