小优化

This commit is contained in:
SoulliesOfficial
2025-05-10 23:55:51 -04:00
parent ab2f79090e
commit 002bb875a0
4 changed files with 33 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ namespace Ichni.Editor
timePointerList.ForEach(pointer =>
{
bool isActive = pointer.time >= leftSideSongTime && pointer.time <= rightSideSongTime;
pointer.gameObject.SetActive(isActive);
if(isActive != pointer.gameObject.activeSelf) pointer.gameObject.SetActive(isActive);
});
if (OnePointer != null) moveTabPoint.localPosition =
new Vector3(timePointerArea.localPosition.x + OnePointer.transform.localPosition.x - 30f, 0, 0);

View File

@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameCameraExtension : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 57564bf694b9e8f43a7d29fd46ecc041
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -21,7 +21,10 @@ namespace Ichni.StartMenu
else if (instance != this)
{
Destroy(gameObject);
return;
}
Application.targetFrameRate = 90;
}
}
}