Version: 2018.4
Experimental: this API is experimental and might be changed or removed in the future.

TerrainUtility.TerrainMap.GetTerrain

マニュアルに切り替える
public Terrain GetTerrain (int tileX, int tileZ);

パラメーター

tileXタイルの X 座標
tileZTile Z coordinate.

戻り値

Terrain Returns a valid Terrain object if successful, null otherwise.

説明

Retrieves the Terrain object corresponding to the tile coordinates (tileX,tileZ).