class Scene_Xxxx
def main
####################################
(A部分)
####################################
Graphics.transition
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
####################################
(B部分)
####################################
end
def update
####################################
(C部分)
####################################
end
end
# 命令视窗被活化的情况下: 呼叫 update_command
if @command_window.active
update_command
return
end
# 状态视窗被活化的情况下: 呼叫 update_status
if @status_window.active
update_status
return
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |