游戏/帧生命周期
与 Roblox 这类事件驱动脚本不同,All Out 上的游戏使用帧生命周期模型,允许你在游戏开始时、每一帧以及会话结束时运行代码。
全局生命周期(整个场景范围)
ao_before_scene_load
ao_before_scene_loadao_start
ao_startao_update(dt)
ao_update(dt)ao_late_update(dt)
ao_late_update(dt)组件生命周期(每个实体)
代码放在哪里:经验法则
服务器 vs 本地
最后更新于