private void SetAreaResizerPositions(Vector3[] positions) { foreach (BaseHandle handle in AllHandles) { if (handle is TerrainAreaHandle) { TerrainAreaHandle terrainAreaHandle = (TerrainAreaHandle)handle; terrainAreaHandle.AreaResizerPositions = positions; terrainAreaHandle.TryRefreshCommandBuffer(); } } }
private void SetPosition(Vector3 value) { foreach (BaseHandle handle in AllHandles) { if (handle is TerrainAreaHandle) { TerrainAreaHandle terrainAreaHandle = (TerrainAreaHandle)handle; terrainAreaHandle.m_initialized = true; terrainAreaHandle.Position = value; terrainAreaHandle.TryRefreshCommandBuffer(); } } }