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;
}
}
}