Organization question

I am trying to make my AI script more organized and easier to understand. I want to make all the different “modules” (movement,logic,targeting) in different classes but no matter what I have tried, it does not allow me to call the class or have them inherit enough data to function properly. I would be up to having them in a separate script but from what I have found it would require me to make a new object that has the script on it to call it. I want to have that all done on the script if possible.

If they aren’t Monobehaviours you don’t have to assign them to objects, you can have a State Machine for the different AI actions, or something like the Command pattern,If they aren’t Monobehaviours then you don’t need to assign them to objects, you could have a Finite State machine for each action of your AI, or something like the Command pattern.