Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How do you make enemies patrol in 2D?

Discussion in '2D' started by SpeedyArtGames101, Mar 2, 2021.

  1. SpeedyArtGames101

    SpeedyArtGames101

    Joined:
    Feb 4, 2021
    Posts:
    3
    Hello! I am new to Unity and do not know ANYTHING about C#. I want to make a platformer. I am using a good tutorial. However, it doesn't say how to make enemies patrol left and right. I would appreciate it if you could give me a tutorial in the comments.

    This is the tutorial I'm using - https://gamedevacademy.org/how-to-build-a-complete-2d-platformer-in-unity/

    Thanks. Have a good day.
     
  2. Cornysam

    Cornysam

    Joined:
    Feb 8, 2018
    Posts:
    758
    Howdy! One thing you are going to have to get good at is Googling when a tutorial doesn't have exactly what you are looking for. Or just getting good at Googling in general. Here is a basic search on YT with some tutorials on patrolling:
    upload_2021-3-2_12-6-25.png
     
    eses likes this.
unityunity