反射 获得UnityEditor 窗口函数

反射 获得UnityEditor 窗口函数
var timelineWindowType = System.Type.GetType("UnityEditor.Timeline.TimelineWindow,UnityEditor.Timeline");
var timelineWindow = UnityEditor.EditorWindow.GetWindow(timelineWindowType, true);
timelineWindow.Repaint();

你可能感兴趣的:(反射 获得UnityEditor 窗口函数)