class Scene_Title
def update
if @window_title.active
@window_title.update
if Input.trigger?(Input::C)
# 光标位置分歧
case @window_title.index
when 0 # 选项 '1'
@window_title.active = false
@window_me.active = true
@window_me.index = 0
# 其余的 when 场合
end
return
end
end
if @window_me.active
@window_me.update
if Input.trigger?(Input::B)
@window_me.active = false
@window_me.index = -1
@window_title.active = true
return
end
end
end
end
class Scene_Title
def update
if @window_title.active
@window_title.update
if Input.trigger?(Input::C)
# 光标位置分歧
case @window_title.index
when 0 # 选项 '1'
@window_title.active = false
@window_me.active = true
@window_me.index = 0
# 其余的 when 场合
end
return
end
end
if @window_me.active
@window_me.update
if Input.trigger?(Input::B)
@window_me.active = false
@window_me.index = -1
@window_title.active = true
return
end
end
end
end