static void Init() { // Get existing open window or if none, make a new one: CallGraph window = (CallGraph)EditorWindow.GetWindow(typeof(CallGraph)); // renderTexture = Resources.Load("CallGraph") as RenderTexture; window.Show(); }