meta data for this page
📚 差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版 | |||
scripting:client:player [2025/02/25 11:05] – bibiboxs | scripting:client:player [2025/05/09 04:14] (当前版本) – bibiboxs | ||
---|---|---|---|
行 204: | 行 204: | ||
### player.GetObserver() | ### player.GetObserver() | ||
+ | |||
+ | [note2] | ||
+ | 此方法已过时,已在新版本移除。 | ||
+ | [/note] | ||
> 获取玩家视角观察对象(`Client.Camera.Target`),如不存在则返回`null`。 | > 获取玩家视角观察对象(`Client.Camera.Target`),如不存在则返回`null`。 | ||
行 220: | 行 224: | ||
function player.TestVisiblePoint( pos: Vector ): bool | function player.TestVisiblePoint( pos: Vector ): bool | ||
``` | ``` | ||
+ | |||