36 lines
971 B
C#
36 lines
971 B
C#
using System;
|
|
using DB;
|
|
using MAI2System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200010C RID: 268
|
|
public class ConfirmNameWindow : CommonWindow
|
|
{
|
|
// Token: 0x06000865 RID: 2149 RVA: 0x0002070C File Offset: 0x0001F90C
|
|
public void Prepare(NameField[] nameField, WindowMessageID id)
|
|
{
|
|
this._inputController.AllResetString();
|
|
for (int i = 0; i < nameField.Length; i++)
|
|
{
|
|
string str = nameField[i].GetStr();
|
|
if (str == ConstParameter.SymboleChar_End)
|
|
{
|
|
break;
|
|
}
|
|
this._inputController.SetString(i, (str == ConstParameter.SymboleChar_Space) ? "\u3000" : str);
|
|
}
|
|
this._titleText.text = id.GetTitle();
|
|
this._messageText.text = id.GetName();
|
|
this._lifeCounter = 0f;
|
|
this.LifeTime = -1f;
|
|
this._state = CommonWindow.WindowState.Prepare;
|
|
this._isOpening = true;
|
|
base.SetPosition(Vector3.zero);
|
|
}
|
|
|
|
// Token: 0x040006AE RID: 1710
|
|
[SerializeField]
|
|
[Header("名前入力フィールド")]
|
|
private InputNameFieldController _inputController;
|
|
}
|