Ejemplo n.º 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();
        }
 // PRAGMA MARK - Public Interface
 public void ConfigureWithGraphAsset(GraphAsset graphAsset)
 {
     this._targetGraphAsset = graphAsset;
 }