Пример #1
0
        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);
        }
Пример #2
0
 public void Populate(TerrainLevelAsset levelAsset)
 {
     activator.Populate(m_worldPos, m_vertices, levelAsset);
 }
Пример #3
0
 public void SetNewTerrainLevelAsset(TerrainLevelAsset levelAsset)
 {
     m_levelAsset = levelAsset;
 }