class Window_ItemCategory < Window_HorzCommand include VIPArcher::Load #-------------------------------------------------------------------------- # ● 获取窗口的宽度 #-------------------------------------------------------------------------- def window_width return 874 end #-------------------------------------------------------------------------- # ● 获取列数 #-------------------------------------------------------------------------- def col_max return 4 end #-------------------------------------------------------------------------- # ● 判断是否为物品栏场景 #-------------------------------------------------------------------------- def scene_item_is? return SceneManager.scene_is?(Scene_Item) end def scene_item_is1? return SceneManager.scene_is?(Scene_Item_Keep) endend
class Window_ItemCategory < Window_HorzCommand include VIPArcher::Load #-------------------------------------------------------------------------- # ● 获取窗口的宽度 #-------------------------------------------------------------------------- def window_width return 874 end #-------------------------------------------------------------------------- # ● 获取列数 #-------------------------------------------------------------------------- def col_max return 4 end #-------------------------------------------------------------------------- # ● 判断是否为物品栏场景 #-------------------------------------------------------------------------- def scene_item_is? return SceneManager.scene_is?(Scene_Item) end def scene_item_is1? return SceneManager.scene_is?(Scene_Item_Keep) end end
折叠内容标题(非必须)
折叠内容
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-16 16:24
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.