Unity - how to make a POV changing camera like minecraft

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 5

  • @ahggw
    @ahggw 2 года назад +1

    Thank you for the lesson

  • @ahggw
    @ahggw 2 года назад

    Please help me how to solve :'Camera' does not contain a definition for 'main'

    • @lurple_
      @lurple_  2 года назад

      Make sure that the camera you're using with the player has the tag called "maincamera" on it or the other easier way to fix the issue would be to remove the line in the void start assigned the camera to amera.main and making the camera variable in your script public and then in the inspector simply dragging the camera there hopefully this helped with your problem :)

    • @ahggw
      @ahggw 2 года назад

      @@lurple_ Thank you very much, it helped a lot (I just started to get involved in unity, I apologize if this was a bonal mistake)

    • @lurple_
      @lurple_  2 года назад +1

      @@ahggw you don't have to apologize if you ever have any questions regarding unity you can add me on discord if you like I'm always down to help any developer in any ways possible.