developer_editor:script:showshape
showShape
- Parameters & Types:
- shapeid:number
- showflag:boolean
- Return value and type:
- ErrorCode. OK
- The main purpose of this method is to set the shape to show or hide
- Specific use cases are as follows:
--Hide the shape with id 1 --The first parameter is the shape id --The second parameter is whether to hide, true to show and false to hide MapMark:showShape(1,false) --Show in the chat box Chat:sendSystemMsg("Hide the shape with id 1!")
developer_editor/script/showshape.txt · Last modified: 2024/06/18 02:07 by don