Skip to content
Jacob's 百宝箱
搜索文档
K
Main Navigation
导航
博客
指南
Web开发
VitePress
npm
编程
Python
C++
Qt
Rust
Git
文件读写
系统技巧
macOS
Windows
生活
体重记录
游戏
游戏攻略
游戏租赁
API参考
符号大全
Appearance
Menu
Return to top
On this page
Godot函数
回调函数
在游戏开发中,以下是一些常用的回调函数及其触发时机:
函数
触发时机
_ready
节点刚创建好时,只执行一次
_process
每帧调用(画面刷新时,不固定频率)
_physics_process
每帧调用(物理引擎固定频率,一般为60fps)
_input
每次按键/点击时触发