Esempio n. 1
0
 /// <summary>
 /// Generates a Biome at a given position
 /// </summary>
 /// <param name="pos">The position to sample the biome field, in local space.</param>
 /// <returns>A Biome object with data about which biome inhabits this space.</returns>
 Biome PickBiomeAtPos(Vector3 pos)
 {
     pos += transform.position;
     return(Biome.AtLocation(pos));
 }