как-то вот таккак можно обновить содержимое окна без его пересозданияКод:class Window_Item < Window_Selectable attr_writer :type end class Scene_Item < Scene_Base def update_command_selection if Input.trigger?(Input::B) Sound.play_cancel return_scene elsif Input.trigger?(Input::C) Sound.play_decision @command_window.active = false @item_window.active = true elsif Input.trigger?(Input::RIGHT) || Input.trigger?(Input::LEFT) @item_window.type = @command_window.index @item_window.refresh @item_window.update_help end end end





Ответить с цитированием

Социальные закладки