This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
component:leash:zh [2023/11/15 14:37] hfsr created |
component:leash:zh [2023/12/27 02:08] (current) hfsr [组件:拴绳升级] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Leash Upgrade | + | 组件:拴绳升级 |
============ | ============ | ||
- | Provided by the [[item:leash_upgrade|Leash Upgrade]]. | + | 由[[item:leash_upgrade:zh|拴绳升级]]提供。 |
- | Component name: `leash`. | + | 组件名:`leash`。 |
- | Callbacks: | + | |
+ | 回调函数: | ||
- `leash(side:number):boolean` | - `leash(side:number):boolean` | ||
- | Tries to put an entity on the specified side of the device onto a leash. | + | 尝试将设备指定方向处的一个实体拴到拴绳上。 |
+ | \\ | ||
- `unleash()` | - `unleash()` | ||
- | Unleashes all currently leashed entities. | + | 松开当前栓住的所有实体。 |
- | + | ||
目录 | 目录 | ||
---- | ---- | ||
{{page>component:contents:zh&noheader&noeditbutton&nouser&nofooter}} | {{page>component:contents:zh&noheader&noeditbutton&nouser&nofooter}} |