Scene_Name ⇐ Scene_MenuBase
Kind: global class
Extends: Scene_MenuBase
- Scene_Name ⇐
Scene_MenuBase- new Scene_Name()
- .initialize() ⇒
void - .prepare(actorId, maxLength) ⇒
void - .create() ⇒
void - .start() ⇒
void - .createEditWindow() ⇒
void - .createInputWindow() ⇒
void - .onInputOk() ⇒
void
new Scene_Name()
姓名输入画面的场景类,用于输入和修改角色姓名。
The scene class of the name input screen, used for inputting and modifying character names.
Scene_Name.initialize() ⇒ void
初始化姓名输入场景对象。
Initializes the name input scene object.
Kind: static method of Scene_Name
Returns: void - 无返回值 No return value
Scene_Name.prepare(actorId, maxLength) ⇒ void
准备姓名输入场景,设置目标角色和最大长度。
Prepares the name input scene, sets the target actor and maximum length.
Kind: static method of Scene_Name
Returns: void - 无返回值 No return value
| Param | Type | Description |
|---|---|---|
| actorId | number | 角色 ID Actor ID |
| maxLength | number | 最大姓名长度 Maximum name length |
Scene_Name.create() ⇒ void
创建姓名输入场景的各个窗口组件。
Creates various window components for the name input scene.
Kind: static method of Scene_Name
Returns: void - 无返回值 No return value
Scene_Name.start() ⇒ void
开始姓名输入场景,刷新编辑窗口。
Starts the name input scene, refreshes the edit window.
Kind: static method of Scene_Name
Returns: void - 无返回值 No return value
Scene_Name.createEditWindow() ⇒ void
创建显示和编辑姓名的窗口。
Creates the window for displaying and editing the name.
Kind: static method of Scene_Name
Returns: void - 无返回值 No return value
Scene_Name.createInputWindow() ⇒ void
创建用于输入姓名的键盘窗口。
Creates the keyboard window for inputting the name.
Kind: static method of Scene_Name
Returns: void - 无返回值 No return value
Scene_Name.onInputOk() ⇒ void
当姓名输入确定时,设置角色姓名并返回上一场景。
When name input is confirmed, sets the character name and returns to the previous scene.
Kind: static method of Scene_Name
Returns: void - 无返回值 No return value