private void UpdateAIFromSelection()
        {
            if (Selection.activeGameObject == null)
            {
                return;
            }

            var c = Selection.activeGameObject.GetComponentInParent <AITreeController>();

            if (c != null)
            {
                _ai = c;
                this.SyncActions();
                this.CleanCurrentState();
                this.Repaint();
                return;
            }
        }
 public AITreeExpandedLookupTable(AITreeController controller)
 {
     _ownerInstanceId = controller.GetInstanceID();
 }