public static void ShowWindow()
        {
            BehaviourEditorWindow window = (BehaviourEditorWindow)EditorWindow.GetWindow(typeof(BehaviourEditorWindow), false, "Behaviour Tree");

            window.Init(); // Why doesnt this work
            window.Show();
        }
 public override void OnInspectorGUI()
 {
     GUILayout.Label("Behaviour Debugger", EditorStyles.centeredGreyMiniLabel);
     if (GUILayout.Button("Open Debugger"))
     {
         BehaviourEditorWindow.SelectedManager   = ((BehaviourManager)target);
         BehaviourEditorWindow.SelectedTransform = BehaviourEditorWindow.SelectedManager.transform;
         BehaviourEditorWindow.ShowWindow();
     }
 }