private void Init()
{
this.titleContent = new GUIContent("AssetBundle");
this.selectedTarget = EditorUserBuildSettings.activeBuildTarget;
Undo.undoRedoPerformed += () => {
SaveGraphWithReload();
Repaint();
};
modifyMode = ModifyMode.NONE;
NodeGUIUtility.NodeEventHandler = HandleNodeEvent;
ConnectionGUIUtility.ConnectionEventHandler = HandleConnectionEvent;
InitializeGraph();
Setup(ActiveBuildTarget);
if (nodes.Any()) {
UpdateSpacerRect();
}
}