Files
Magical-Jumping-Bean/Library/metadata/70/70a190a1b304d1e43995af35d09231d6
T

111 lines
8.0 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š†!ë5˜9Ý4QÁóBí7€ÿÿÿÿ€¦€²€
E€ Þ€#€.€,€5a€ Þ€#€.€,€†€r€ Þ€# €.€,
€H€«€ÿÿÿÿ €1€1€ÿÿÿÿ @Þ€€
Q€j€ñ€JÿÿÿÿÀ1€1€ÿÿÿÿ€Þ€€€j€ÿÿÿÿ€\›€ÿÿÿÿ€H€rÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€H€wÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€H€€ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€y€
€ Þ€#!€.€,"€€…ÿÿÿÿ#@1€1€ÿÿÿÿ$Þ€€%.€j€&Õ€“ÿÿÿÿ'€1€1€ÿÿÿÿ(ÀÞ€€)€j€ÿÿÿÿ*€H€›€ÿÿÿÿ+€1€1€ÿÿÿÿ,@Þ€€-Q€j€.y€
€ /Þ€#0€.€,1€ €§2@¾€¶ 3@Þ€#4€.€,5€H€»ÿÿÿÿ6€1€1€ÿÿÿÿ7@Þ€€8Q€j€9H€Æÿÿÿÿ:€1€1€ÿÿÿÿ;@Þ€€<Q€j€=H€Øÿÿÿÿ>€1€1€ÿÿÿÿ?@Þ€€@Q€j€AMonoImporterPPtr<EditorExtension>m_FileIDm_PathIDPPtr<PrefabInstance>m_ExternalObjectsSourceAssetIdentifiertypeassemblynamem_UsedFileIDsm_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariantsÿÿ£Gñ×Ü�Z56 :!@iÁJ*�€7€ÿÿÿÿ€¦€²€E€ Þ€€.€€(a€ Þ€€.€€†€r€ Þ€ €.€
€H€«€ÿÿÿÿ €1€1€ÿÿÿÿ @Þ€€
Q€j€H€ê€ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€ñ€=ÿÿÿÿ€1€1€ÿÿÿÿ€Þ€€€j€ÿÿÿÿ€H€›€ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€y€
€ Þ€€.€€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_Namespacehh\ày¯È4  ;@N“YúS
)m=Packages/com.unity.timeline/Runtime/Evaluation/RuntimeClip.csày¯ RuntimeClip¼ using UnityEngine;
using UnityEngine.Playables;
namespace UnityEngine.Timeline
{
// The RuntimeClip wraps a single clip in an instanciated sequence.
// It supports the IInterval interface so that it can be stored in the interval tree
// It is this class that is returned by an interval tree query.
class RuntimeClip : RuntimeClipBase
{
TimelineClip m_Clip;
Playable m_Playable;
Playable m_ParentMixer;
public override double start
{
get { return m_Clip.extrapolatedStart; }
}
public override double duration
{
get { return m_Clip.extrapolatedDuration; }
}
public RuntimeClip(TimelineClip clip, Playable clipPlayable, Playable parentMixer)
{
Create(clip, clipPlayable, parentMixer);
}
void Create(TimelineClip clip, Playable clipPlayable, Playable parentMixer)
{
m_Clip = clip;
m_Playable = clipPlayable;
m_ParentMixer = parentMixer;
clipPlayable.Pause();
}
public TimelineClip clip
{
get { return m_Clip; }
}
public Playable mixer
{
get { return m_ParentMixer; }
}
public Playable playable
{
get { return m_Playable; }
}
public override bool enable
{
set
{
if (value && m_Playable.GetPlayState() != PlayState.Playing)
{
m_Playable.Play();
}
else if (!value && m_Playable.GetPlayState() != PlayState.Paused)
{
m_Playable.Pause();
if (m_ParentMixer.IsValid())
m_ParentMixer.SetInputWeight(m_Playable, 0.0f);
}
}
}
public void SetTime(double time)
{
m_Playable.SetTime(time);
}
public void SetDuration(double duration)
{
m_Playable.SetDuration(duration);
}
public override void EvaluateAt(double localTime, FrameData frameData)
{
enable = true;
float weight = 1.0f;
if (clip.IsPreExtrapolatedTime(localTime))
weight = clip.EvaluateMixIn((float)clip.start);
else if (clip.IsPostExtrapolatedTime(localTime))
weight = clip.EvaluateMixOut((float)clip.end);
else
weight = clip.EvaluateMixIn(localTime) * clip.EvaluateMixOut(localTime);
if (mixer.IsValid())
mixer.SetInputWeight(playable, weight);
// localTime of the sequence to localtime of the clip
double clipTime = clip.ToLocalTime(localTime);
if (clipTime.CompareTo(0.0) >= 0)
{
SetTime(clipTime);
}