void OnEnable()
        {
            OnRefresh += PerformRefresh;

            titleContent.image = AssetDatabase.LoadAssetAtPath <Texture>(
                "Assets/Unisave/Images/WindowIcon.png"
                );

            if (treeViewState == null)
            {
                treeViewState = new TreeViewState();
            }

            treeView = new DataWindowTreeView(treeViewState);
        }
Beispiel #2
0
        void OnEnable()
        {
            OnRefresh += PerformRefresh;

            ClientApplication
            .GetInstance()
            .Resolve <EmulatedFacetCaller>()
            .OnFacetCalled += PerformRefresh;

            titleContent.image = AssetDatabase.LoadAssetAtPath <Texture>(
                "Assets/Unisave/Images/WindowIcon.png"
                );

            if (treeViewState == null)
            {
                treeViewState = new TreeViewState();
            }

            treeView = new DataWindowTreeView(treeViewState);
        }