upload
This commit is contained in:
parent
77ab2bcb8f
commit
1c6d3a7eaf
|
|
@ -14,8 +14,8 @@ RenderTexture:
|
||||||
m_DownscaleFallback: 0
|
m_DownscaleFallback: 0
|
||||||
m_IsAlphaChannelOptional: 0
|
m_IsAlphaChannelOptional: 0
|
||||||
serializedVersion: 5
|
serializedVersion: 5
|
||||||
m_Width: 1280
|
m_Width: 1600
|
||||||
m_Height: 720
|
m_Height: 900
|
||||||
m_AntiAliasing: 2
|
m_AntiAliasing: 2
|
||||||
m_MipCount: -1
|
m_MipCount: -1
|
||||||
m_DepthStencilFormat: 92
|
m_DepthStencilFormat: 92
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ RenderTexture:
|
||||||
m_DownscaleFallback: 0
|
m_DownscaleFallback: 0
|
||||||
m_IsAlphaChannelOptional: 0
|
m_IsAlphaChannelOptional: 0
|
||||||
serializedVersion: 5
|
serializedVersion: 5
|
||||||
m_Width: 1920
|
m_Width: 2400
|
||||||
m_Height: 1080
|
m_Height: 1350
|
||||||
m_AntiAliasing: 1
|
m_AntiAliasing: 1
|
||||||
m_MipCount: -1
|
m_MipCount: -1
|
||||||
m_DepthStencilFormat: 92
|
m_DepthStencilFormat: 92
|
||||||
|
|
|
||||||
|
|
@ -10135,7 +10135,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 177.66988, y: -60.01}
|
m_AnchoredPosition: {x: 177.66986, y: -60.01}
|
||||||
m_SizeDelta: {x: 42, y: 42}
|
m_SizeDelta: {x: 42, y: 42}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &449176922
|
--- !u!114 &449176922
|
||||||
|
|
@ -10986,7 +10986,7 @@ MonoBehaviour:
|
||||||
m_TargetGraphic: {fileID: 171581557}
|
m_TargetGraphic: {fileID: 171581557}
|
||||||
m_HandleRect: {fileID: 171581556}
|
m_HandleRect: {fileID: 171581556}
|
||||||
m_Direction: 2
|
m_Direction: 2
|
||||||
m_Value: 1
|
m_Value: 0
|
||||||
m_Size: 1
|
m_Size: 1
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
|
|
@ -18620,8 +18620,8 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 29, y: -29}
|
m_AnchoredPosition: {x: 29.3, y: -29.3}
|
||||||
m_SizeDelta: {x: 48, y: 48}
|
m_SizeDelta: {x: 48.6, y: 48.6}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &781200687
|
--- !u!114 &781200687
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
|
@ -20896,8 +20896,8 @@ MonoBehaviour:
|
||||||
m_TargetGraphic: {fileID: 1589389272}
|
m_TargetGraphic: {fileID: 1589389272}
|
||||||
m_HandleRect: {fileID: 1589389271}
|
m_HandleRect: {fileID: 1589389271}
|
||||||
m_Direction: 2
|
m_Direction: 2
|
||||||
m_Value: 0
|
m_Value: 1
|
||||||
m_Size: 0.9999943
|
m_Size: 0.9999938
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
|
@ -25541,7 +25541,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
m_AnchorMax: {x: 1, y: 0.5}
|
m_AnchorMax: {x: 1, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 125.591866}
|
m_AnchoredPosition: {x: 0, y: 162.32596}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 1}
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
--- !u!222 &1154875945
|
--- !u!222 &1154875945
|
||||||
|
|
@ -34587,8 +34587,8 @@ MonoBehaviour:
|
||||||
m_TargetGraphic: {fileID: 1220118245}
|
m_TargetGraphic: {fileID: 1220118245}
|
||||||
m_HandleRect: {fileID: 1220118244}
|
m_HandleRect: {fileID: 1220118244}
|
||||||
m_Direction: 2
|
m_Direction: 2
|
||||||
m_Value: 1.0000002
|
m_Value: 1.0000017
|
||||||
m_Size: 0.6423325
|
m_Size: 0.9467054
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ using Jukebox;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine.Timeline;
|
||||||
|
|
||||||
namespace HeavenStudio.Editor.Track
|
namespace HeavenStudio.Editor.Track
|
||||||
{
|
{
|
||||||
|
|
@ -148,8 +149,11 @@ namespace HeavenStudio.Editor.Track
|
||||||
|
|
||||||
if (selected)
|
if (selected)
|
||||||
{
|
{
|
||||||
if (moving)
|
if (TimelineBlockManager.Instance.MovingAnyEvents)
|
||||||
|
{
|
||||||
outline.color = Color.magenta;
|
outline.color = Color.magenta;
|
||||||
|
SetColor((int)entity["track"]);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
outline.color = Color.cyan;
|
outline.color = Color.cyan;
|
||||||
}
|
}
|
||||||
|
|
@ -200,6 +204,7 @@ namespace HeavenStudio.Editor.Track
|
||||||
|
|
||||||
if (!isCreating && movedEntity)
|
if (!isCreating && movedEntity)
|
||||||
{
|
{
|
||||||
|
// NOTE (PELLY): Replace with arrays soon
|
||||||
List<double> lastBeats = new();
|
List<double> lastBeats = new();
|
||||||
List<int> lastLayers = new();
|
List<int> lastLayers = new();
|
||||||
foreach (var marker in Selections.instance.eventsSelected)
|
foreach (var marker in Selections.instance.eventsSelected)
|
||||||
|
|
@ -318,7 +323,8 @@ namespace HeavenStudio.Editor.Track
|
||||||
|
|
||||||
if (Input.GetMouseButton(1) || Input.GetMouseButton(2)) return;
|
if (Input.GetMouseButton(1) || Input.GetMouseButton(2)) return;
|
||||||
if (!moving)
|
if (!moving)
|
||||||
altWhenClicked = Input.GetKey(KeyCode.LeftAlt);
|
if (!altWhenClicked)
|
||||||
|
altWhenClicked = Input.GetKey(KeyCode.LeftAlt);
|
||||||
|
|
||||||
if (!altWhenClicked)
|
if (!altWhenClicked)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue