mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
add @visible(false) for TerrainInfo (#334)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user