public void Populate(Vector3 worldPos, Vector3[] vertices, TerrainLevelAsset levelAsset) { m_levelAsset = levelAsset; if (!m_levelAsset) { Debug.Log("no level asset supplied"); return; } items = m_levelAsset.PopulateVertices(worldPos, vertices, transform); }
public void Populate(TerrainLevelAsset levelAsset) { activator.Populate(m_worldPos, m_vertices, levelAsset); }
public void SetNewTerrainLevelAsset(TerrainLevelAsset levelAsset) { m_levelAsset = levelAsset; }