1.解决了Track面向的问题2.新增Surface类型的Spline渲染器3.新增with后缀表达式
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Convention;
|
||||
using Convention.Internal;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
@@ -63,7 +59,7 @@ namespace Demo.Editor.UI
|
||||
|
||||
public void ResizeOnTimeline()
|
||||
{
|
||||
if(IsSetup==false)
|
||||
if (IsSetup == false)
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
return;
|
||||
@@ -76,7 +72,7 @@ namespace Demo.Editor.UI
|
||||
Vector3 minPosition = DragAreaInternal.rect.min - DragObjectInternal.rect.min;
|
||||
Vector3 maxPosition = DragAreaInternal.rect.max - DragObjectInternal.rect.max;
|
||||
|
||||
if(DragObjectInternal.localPosition.y< minPosition.y|| DragObjectInternal.localPosition.y > maxPosition.y)
|
||||
if (DragObjectInternal.localPosition.y < minPosition.y || DragObjectInternal.localPosition.y > maxPosition.y)
|
||||
{
|
||||
RawButton.gameObject.SetActive(false);
|
||||
return;
|
||||
@@ -92,7 +88,7 @@ namespace Demo.Editor.UI
|
||||
if (Mathf.Approximately(durationX, durationY))
|
||||
{
|
||||
from = (durationX - clip.x) / left2rightDuration;
|
||||
to = from + 0.1f;
|
||||
to = Mathf.Max(from + 0.1f, EditorController.instance.SongOffset);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user