Files
Magical-Jumping-Bean/Library/metadata/b8/b846f69b139b3a341a5699a09fa52b2c
T

115 lines
8.5 KiB
Plaintext
Raw Normal View History

2019-09-29 19:40:54 -04:00
í"2019.2.3f1ţ˙˙˙˙˙’3$řĚuńě˛e+ Í=^7€˙˙˙˙¦€˛Đ¦¦¦€#¦€+H€3˙˙˙˙1€1€˙˙˙˙@Ţ Q€j
H€<˙˙˙˙ 1€1€˙˙˙˙ @Ţ
Q€jŐ€I˙˙˙˙1€1€˙˙˙˙ŔŢH€j€˙˙˙˙1€1€˙˙˙˙@ŢQ€j€PAssetMetaDataguiddata[0]data[1]data[2]data[3]pathNameoriginalNamelabelsassetStoreRef ˙˙fš†!ë59Ý4QÁóBí7€˙˙˙˙¦€˛
E Ţ€#.€,5a Ţ€#.€,€r Ţ€# .€,
H€«€˙˙˙˙ 1€1€˙˙˙˙ @Ţ
Q€jń€J˙˙˙˙Ŕ1€1€˙˙˙˙Ţ€j€˙˙˙˙\€˙˙˙˙H€r˙˙˙˙1€1€˙˙˙˙@ŢQ€jH€w˙˙˙˙1€1€˙˙˙˙@ŢQ€jH€€˙˙˙˙1€1€˙˙˙˙@ŢQ€jy
 Ţ€#!.€,"€…˙˙˙˙#@1€1€˙˙˙˙$Ţ%.€j&Ő€“˙˙˙˙'1€1€˙˙˙˙(ŔŢ)€j€˙˙˙˙*H€›€˙˙˙˙+1€1€˙˙˙˙,@Ţ-Q€j.y
 /Ţ€#0.€,1 €§2@ľ€¶ 3@Ţ€#4.€,5H€»˙˙˙˙61€1€˙˙˙˙7@Ţ8Q€j9H€Ć˙˙˙˙:1€1€˙˙˙˙;@Ţ<Q€j=H€Ř˙˙˙˙>1€1€˙˙˙˙?@Ţ@Q€jAMonoImporterPPtr<EditorExtension>m_FileIDm_PathIDPPtr<PrefabInstance>m_ExternalObjectsSourceAssetIdentifiertypeassemblynamem_UsedFileIDsm_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariants˙˙ŁGń×ÜŹZ56 :!@iÁJ*€7€˙˙˙˙¦€˛E Ţ.(a Ţ.€r Ţ .
H€«€˙˙˙˙ 1€1€˙˙˙˙ @Ţ
Q€jH€ę€˙˙˙˙1€1€˙˙˙˙@ŢQ€jń€=˙˙˙˙1€1€˙˙˙˙Ţ€j€˙˙˙˙H€›€˙˙˙˙1€1€˙˙˙˙@ŢQ€jy
 Ţ.y€Q Ţ. Ţ€X!H€i˙˙˙˙"1€1€˙˙˙˙#@Ţ$Q€j%H€u˙˙˙˙&1€1€˙˙˙˙'@Ţ(Q€j)PPtr<EditorExtension>m_FileIDm_PathIDPPtr<PrefabInstance>m_DefaultReferencesm_Iconm_ExecutionOrderm_ClassNamem_Namespacelp\ŕyŻĐ$‹doą1ąŁCˇe™
ůZ˛ÂDPackages/com.unity.timeline/Editor/Window/TimelineWindow_TimeArea.csŕyŻTimelineWindow_TimeAreaĄ
using System;
using UnityEngine;
namespace UnityEditor.Timeline
{
partial class TimelineWindow
{
[NonSerialized] TimelineTimeArea m_TimeArea;
public TimeArea timeArea { get { return m_TimeArea; } }
internal static class Styles
{
public static string DurationModeText = L10n.Tr("Duration Mode/{0}");
}
float m_LastFrameRate;
bool m_TimeAreaDirty = true;
void InitializeTimeArea()
{
if (m_TimeArea == null)
{
m_TimeArea = new TimelineTimeArea(state, false)
{
hRangeLocked = false,
vRangeLocked = true,
margin = 10,
scaleWithWindow = true,
hSlider = true,
vSlider = false,
hBaseRangeMin = 0.0f,
hBaseRangeMax = WindowState.kMaxShownTime,
hRangeMin = 0.0f,
hScaleMax = WindowConstants.maxTimeAreaScaling,
rect = state.timeAreaRect
};
m_TimeAreaDirty = true;
InitTimeAreaFrameRate();
SyncTimeAreaShownRange();
}
}
void TimelineGUI()
{
if (!currentMode.ShouldShowTimeArea(state))
return;
Rect rect = state.timeAreaRect;
m_TimeArea.rect = new Rect(rect.x, rect.y, rect.width, clientArea.height - rect.y);
if (m_LastFrameRate != state.referenceSequence.frameRate)
InitTimeAreaFrameRate();
SyncTimeAreaShownRange();
m_TimeArea.BeginViewGUI();
m_TimeArea.TimeRuler(rect, state.referenceSequence.frameRate, true, false, 1.0f, state.timeInFrames ? TimeArea.TimeFormat.Frame : TimeArea.TimeFormat.TimeFrame);
m_TimeArea.EndViewGUI();
}
void InitTimeAreaFrameRate()
{
m_LastFrameRate = state.referenceSequence.frameRate;
m_TimeArea.hTicks.SetTickModulosForFrameRate(m_LastFrameRate);
}
void SyncTimeAreaShownRange()
{
var range = state.timeAreaShownRange;
if (!Mathf.Approximately(range.x, m_TimeArea.shownArea.x) || !Mathf.Approximately(range.y, m_TimeArea.shownArea.xMax))
{
// set view data onto the time area
if (m_TimeAreaDirty)
{
m_TimeArea.SetShownHRange(range.x, range.y);
m_TimeAreaDirty = false;
}
else
{
// set time area data onto the view data
state.TimeAreaChanged();
}
}
m_TimeArea.hBaseRangeMax = (float)state.editSequence.duration;
}
class TimelineTimeArea : TimeArea
{
readonly WindowState m_State;
public TimelineTimeArea(WindowState state, bool minimalGUI) : base(minimalGUI)
{
m_State = state;
}
public override string FormatTickTime(float time, float frameRate, TimeFormat timeFormat)
{
time = m_State.timeReferenceMode == TimeReferenceMode.Global ?
(float)m_State.editSequence.ToGlobalTime(time) : time;
return FormatTime(time, frameRate, timeFormat);