add @visible(false) for TerrainInfo (#334)

This commit is contained in:
李吉林
2026-09-11 15:09:24 +08:00
committed by GitHub
parent a3c3fcbea5
commit f66365f959
+1
View File
@@ -1537,6 +1537,7 @@ export class Terrain extends Component {
* @zh 获得地形信息
*/
@type(TerrainInfo)
@visible(false)
public get info (): TerrainInfo {
const ti = new TerrainInfo();
ti.tileSize = this.tileSize;