This commit is contained in:
SoulliesOfficial
2026-03-14 02:30:26 -04:00
parent cf86f0ee51
commit aee62cd637
2041 changed files with 246771 additions and 129128 deletions

View File

@@ -14,18 +14,16 @@ namespace Ichni.Editor
{
public GameObject logTextPrefab;
List<string> savedTexts;
public List<string> savedTexts = new List<string>();
public RectTransform textRect;
public Button copyAllTextsButton;
public Button removeAllTextsButton;
public List<LogText> logTexts; // 改为 List
public List<LogText> logTexts = new List<LogText>(); // 改为 List
public int logTextCapacity = 4;
protected override void Start()
{
base.Start();
savedTexts = new List<string>();
logTexts = new List<LogText>(); // 初始化为 List
copyAllTextsButton.onClick.AddListener(CopyAllText);
removeAllTextsButton.onClick.AddListener(RemoveAllText);
}

View File

@@ -53,11 +53,9 @@ namespace Ichni.Editor
}
public void Update()
{
if (EditorManager.instance.musicPlayer.isPlaying)
if (CoreServices.TimeProvider.IsPlaying)
{
UpdateTime();
}
if (RectTransformUtility.RectangleContainsScreenPoint(GetinputArea, Mouse.current.position.ReadValue()))