コード例 #1
0
        private static void ConfigureWindow(GraphAsset graphAsset)
        {
            if (graphAsset == null)
            {
                return;
            }

            GraphAssetEditorWindow window = EditorWindow.GetWindow(typeof(GraphAssetEditorWindow)) as GraphAssetEditorWindow;

            window.ConfigureWithGraphAsset(graphAsset);
            window.Show();
        }
コード例 #2
0
        public static void ShowWindow()
        {
            GraphAssetEditorWindow window = EditorWindow.GetWindow(typeof(GraphAssetEditorWindow)) as GraphAssetEditorWindow;

            window.Show();
        }