private static void RemoveAIBrainSystem()
        {
            if (Selection.activeGameObject == null)
            {
                return;
            }
            var aiBrain     = Selection.activeGameObject.GetComponent <AIBrain>();
            var aiActions   = Selection.activeGameObject.GetComponents <AIAction>();
            var aiDecisions = Selection.activeGameObject.GetComponents <AIDecision>();

            if (aiBrain)
            {
                Debug.Log("Removing AIBrain");
            }
            if (aiActions.Length > 0)
            {
                Debug.Log("Removing " + aiActions.Length + " AIActions");
            }
            if (aiDecisions.Length > 0)
            {
                Debug.Log("Removing " + aiDecisions.Length + " AIDecisions");
            }

            GeneratorUtils.Cleanup(Selection.activeGameObject);

            Debug.Log("AIBrain cleanup complete.");
        }
 public void Cleanup()
 {
     GeneratorUtils.Cleanup(gameObject);
 }