我需要帮助😭
timeline下面的子菜单不知道怎么适配比例 还有性能不是很好(TimeLineTabS)下面的一坨
This commit is contained in:
@@ -112,7 +112,7 @@ namespace Ichni.Editor
|
||||
|
||||
timePointerArea.anchoredPosition =
|
||||
new Vector2((timePointerArea.sizeDelta.x / 2) -
|
||||
((startTime + songInformation.delay) / timeline.timePerBeat) * timePointerInterval, 0);
|
||||
(startTime + songInformation.delay) / timeline.timePerBeat * timePointerInterval, 0);
|
||||
|
||||
float proportion = mainTimePointer.anchoredPosition.x / visibleTimePointerArea.rect.width;
|
||||
|
||||
@@ -125,6 +125,7 @@ namespace Ichni.Editor
|
||||
/// </summary>
|
||||
/// <param name="beatDivider">细分X分音符</param>
|
||||
/// <param name="index"></param>
|
||||
|
||||
private void CreatePointer(int beatDivider, int index)
|
||||
{
|
||||
TimePointer pointer = Instantiate(timePointerPrefab, timePointerArea).GetComponent<TimePointer>();
|
||||
|
||||
Reference in New Issue
Block a user