UpdateNode() публичный Метод

public UpdateNode ( NodeGUI node ) : void
node NodeGUI
Результат void
Пример #1
0
        public void SetActive()
        {
            nodeInsp.UpdateNode(this);
            Selection.activeObject = nodeInsp;

            switch (this.kind)
            {
            case AssetBundleGraphSettings.NodeKind.LOADER_GUI:
            case AssetBundleGraphSettings.NodeKind.EXPORTER_GUI: {
                this.nodeInterfaceTypeStr = "flow node 0 on";
                break;
            }

            case AssetBundleGraphSettings.NodeKind.FILTER_SCRIPT:
            case AssetBundleGraphSettings.NodeKind.FILTER_GUI: {
                this.nodeInterfaceTypeStr = "flow node 1 on";
                break;
            }

            case AssetBundleGraphSettings.NodeKind.IMPORTSETTING_GUI: {
                this.nodeInterfaceTypeStr = "flow node 2 on";
                break;
            }

            case AssetBundleGraphSettings.NodeKind.MODIFIER_GUI: {
                this.nodeInterfaceTypeStr = "flow node 6 on";
                break;
            }

            case AssetBundleGraphSettings.NodeKind.GROUPING_GUI: {
                this.nodeInterfaceTypeStr = "flow node 3 on";
                break;
            }

            case AssetBundleGraphSettings.NodeKind.PREFABRICATOR_SCRIPT:
            case AssetBundleGraphSettings.NodeKind.PREFABRICATOR_GUI:
            {
                this.nodeInterfaceTypeStr = "flow node 4 on";
                break;
            }

            case AssetBundleGraphSettings.NodeKind.BUNDLIZER_GUI: {
                this.nodeInterfaceTypeStr = "flow node 5 on";
                break;
            }

            case AssetBundleGraphSettings.NodeKind.BUNDLEBUILDER_GUI: {
                this.nodeInterfaceTypeStr = "flow node 6 on";
                break;
            }

            default: {
                Debug.LogError(this.name + " is defined as unknown kind of node. value:" + this.kind);
                break;
            }
            }
        }
Пример #2
0
 public void ResetErrorStatus()
 {
     m_hasErrors = false;
     Inspector.UpdateNode(this);
     Inspector.UpdateErrors(new List <string>());
 }
Пример #3
0
 public void SetActive()
 {
     m_nodeInsp.UpdateNode(this);
     Selection.activeObject = m_nodeInsp;
     this.m_nodeSyle        = NodeGUIUtility.SelectedStyle[m_data.Kind];
 }