Files
Magical-Jumping-Bean/Library/metadata/e7/e74ddf4132f3401409c824bed60280ee
T

62 lines
7.2 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_Namespace|€\ày¯àè~Ôý#?A�ŒBëm îSPackages/com.unity.timeline/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.csày¯MarkerHeaderContextMenulusing System;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
namespace UnityEditor.Timeline
{
class TimelineMarkerHeaderContextMenu : Manipulator
{
protected override bool ContextClick(Event evt, WindowState state)
{
if (!state.showMarkerHeader)
return false;
if (!(state.GetWindow().markerHeaderRect.Contains(evt.mousePosition)
|| state.GetWindow().markerContentRect.Contains(evt.mousePosition)))
return false;
ShowMenu(evt.mousePosition, state);
return true;
}
public static void ShowMenu(Vector2? mousePosition, WindowState state)
{
var menu = new GenericMenu();
ContextMenus.markerHeaderMenu.AddToMenu(menu, state);
var timeline = state.editSequence.asset;
var time = TimelineHelpers.GetCandidateTime(state, mousePosition);
var enabled = timeline.markerTrack == null || !timeline.markerTrack.lockedInHierarchy && !state.editSequence.isReadOnly;
var addMarkerCommand = new Func<Type, IMarker>(type => AddMarkerCommand(type, time, state));
SequencerContextMenu.AddMarkerMenuCommands(menu, timeline.markerTrack, addMarkerCommand, enabled);
menu.ShowAsContext();
}
static IMarker AddMarkerCommand(Type markerType, double time, WindowState state)
{
var timeline = state.editSequence.asset;
timeline.CreateMarkerTrack();
var markerTrack = timeline.markerTrack;
var marker = SequencerContextMenu.AddMarkerCommand(markerTrack, markerType, time);
if (typeof(INotification).IsAssignableFrom(markerType))
{
// If we have no binding for the Notifications, set it to the director GO
var director = state.editSequence.director;
if (director != null && director.GetGenericBinding(markerTrack) == null)
director.SetGenericBinding(markerTrack, director.gameObject);
}
return marker;