Merge branch '重构佩佩的脚本来配合存档' into bugfix/merge
This commit is contained in:
@@ -28,6 +28,8 @@ namespace AibisDream.FixSystem
|
||||
_state = transform.Find("Screen State Text").GetComponent<TMP_Text>();
|
||||
_deepinButton = new SpriteButton(transform.Find("Deepin Button").gameObject, false);
|
||||
MessageBoxSetNull();
|
||||
|
||||
_deepinButton.OnButtonDown += HandleDeepInButtonClick;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
@@ -43,6 +45,11 @@ namespace AibisDream.FixSystem
|
||||
_state.color = Color.red; // 红色
|
||||
}
|
||||
|
||||
private void HandleDeepInButtonClick()
|
||||
{
|
||||
FixSystemCenter.SystemDic.Get<BodyModuleSystem>().HandleDeepIn();
|
||||
}
|
||||
|
||||
public void MessageBoxSetWarning()
|
||||
{
|
||||
_state.text = "警告";
|
||||
|
||||
Reference in New Issue
Block a user