反射 获得UnityEditor 窗口函数
2019-12-10 本文已影响0人
多罗猫_游戏人
反射 获得UnityEditor 窗口函数
var timelineWindowType = System.Type.GetType("UnityEditor.Timeline.TimelineWindow,UnityEditor.Timeline");
var timelineWindow = UnityEditor.EditorWindow.GetWindow(timelineWindowType, true);
timelineWindow.Repaint();