新增 RecordingToolPanel,按 Ctrl+R 唤出侧边栏,可独立控制光标、 版本号、Top Bar 与对话视觉的显隐。移除旧的 UIEventEnum.RecordingModeChanged 事件,改为各子系统提供显式 SetVisible API。在 Persistence 场景中配置面板层级与四个开关。
19 lines
347 B
C#
19 lines
347 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace AibisDream.Kit
|
|
{
|
|
public class VerText : MonoBehaviour
|
|
{
|
|
private void Start()
|
|
{
|
|
GetComponent<TMP_Text>().text = $"Ver.{Application.version}";
|
|
}
|
|
|
|
public void SetVisible(bool visible)
|
|
{
|
|
gameObject.SetActive(visible);
|
|
}
|
|
}
|
|
}
|