某些修改
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Ichni.Editor
|
||||
Observable.NextFrame().Subscribe(_ =>
|
||||
{
|
||||
timePointerList = new List<TimePointer>();
|
||||
Initialize(2, 120);
|
||||
Initialize(songInformation.delay, songInformation.bpm);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -50,13 +50,14 @@ namespace Ichni.Editor
|
||||
|
||||
}
|
||||
|
||||
moveTabPoint.localPosition = new Vector3(timePointerArea.localPosition.x + OnePointer.transform.localPosition.x - timePointerInterval, -45f, 0);
|
||||
|
||||
timePointerList.ForEach(pointer =>
|
||||
{
|
||||
bool isActive = pointer.time >= leftSideSongTime && pointer.time <= rightSideSongTime;
|
||||
pointer.gameObject.SetActive(isActive);
|
||||
});
|
||||
moveTabPoint.localPosition = new Vector3(timePointerArea.localPosition.x + OnePointer.transform.localPosition.x - timePointerInterval, -45f, 0);
|
||||
|
||||
foreach (var i in moveTabPoint.transform.GetComponentsInChildren<SubTab>())
|
||||
{
|
||||
if (i.Time >= songInformation.songTime)
|
||||
|
||||
Reference in New Issue
Block a user