public void EventLineContextMenuAdd(object obj) { AnimationEventTimeLine.EventLineContextMenuObject eventLineContextMenuObject = (AnimationEventTimeLine.EventLineContextMenuObject)obj; AnimationWindowEvent evt = AnimationWindowEvent.CreateAndEdit(eventLineContextMenuObject.m_Animated, eventLineContextMenuObject.m_Clip, eventLineContextMenuObject.m_Time); this.Select(evt); }
public void EventLineContextMenuAdd(object obj) { EventLineContextMenuObject obj2 = (EventLineContextMenuObject)obj; AnimationWindowEvent evt = AnimationWindowEvent.CreateAndEdit(obj2.m_Animated, obj2.m_Clip, obj2.m_Time); this.Select(evt); }
public void AddEvent(float time, GameObject gameObject, AnimationClip animationClip) { AnimationWindowEvent awEvent = AnimationWindowEvent.CreateAndEdit(gameObject, animationClip, time); Selection.activeObject = awEvent; }
public void AddEvent(float time, GameObject rootGameObject, AnimationClip animationClip) { AnimationWindowEvent evt = AnimationWindowEvent.CreateAndEdit(rootGameObject, animationClip, time); this.Select(evt); }