Ok so I’m making a little game demo to dip my toes into Unity
I’m to the point where I’d like to start coding my enemies behavior but I’m not sure how to go about it?
I’d like them to have a similar behavior to the Red Koopas from Mario (can roam back and forth but can’t fall off edges/pits)
Any suggestions on how to do that?
Have you gone through some of the introduction materials/tutorials here? Unity Learn
Have you tried any code so far? If so, can you post it?