meta data for this page
📚 差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版 | |||
| scripting:native:misc [2025/08/27 15:18] – bibiboxs | scripting:native:misc [2025/08/28 00:46] (当前版本) – bibiboxs | ||
|---|---|---|---|
| 行 267: | 行 267: | ||
| ```javascript | ```javascript | ||
| function GreaterDistance( pos: Vector, pos2: Vector, distance: float ): bool | function GreaterDistance( pos: Vector, pos2: Vector, distance: float ): bool | ||
| + | ``` | ||
| + | |||
| + | |||
| + | |||
| + | ### Misc.IsUBBText() | ||
| + | |||
| + | > 检查文本是否包含**UBB\HTML**格式。 | ||
| + | > | ||
| + | > 注意:此方法只会检查受引擎支持的标签(例如:`img | color | size`等,不会检查自定义标签)。 | ||
| + | |||
| + | ```javascript | ||
| + | function IsUBBText( text: string ): bool | ||
| ``` | ``` | ||