Coroutines in Unity (Basic Tutorial for Beginners)

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

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

  • @robertkavensky9709
    @robertkavensky9709 4 месяца назад

    Perfect

  • @BrandNewGaming159
    @BrandNewGaming159 Месяц назад

    great job

  • @mikhailhumphries
    @mikhailhumphries Год назад

    Nice. Can you do something on Singletons?

    • @Digestible
      @Digestible  Год назад

      I'll look into it. Thanks for the suggestion

  • @vanessaj.3472
    @vanessaj.3472 Год назад

    hey, I have a problem with installing packages for animated tiles in a 2D map. I always get a message about the program not being able to enter playmode before fixing all problems. I don´t know how to fix the errors and find out which programms don´t work in my version. I´m using Unity2023.1.16.f1
    Can you help me?

    • @Digestible
      @Digestible  Год назад +1

      That doesnt have a quick answer. But here are a few tips that hopefully help you:
      Hopefully you are aware that the 2023.1.16 version is not as stable as going with an LTS (long term support) version - the most recent one of that is 2022.3 so that might be something to consider unless you need a feature that only 2023 version is working on.
      Ok here are my ideas to hopefully help:
      1) make sure that your visual studio is showing your errors (if it isnt that would be super hard to find them!) I have a separate video on how to connect that: ruclips.net/video/5r3O3VMXA0c/видео.html
      2) As you found out it wont run unless all errors are fixed. Look through your code for any red squiggles (will show up if you did step 1) - if there are any it still wont run. It can be as simple as a missing semicolon or closing curly brace, unfortunately. Sometimes the error is not in the exact spot as it shows, but instead the line above. If you roll over the error it will give you some clues on how to fix it
      3) you can also locate errors in the console in unity - if you try to run it you will see a list of things in red. There is often a link to the file, and line number it is on that if you click on it you will be taken to there. Once again, it might not be the exact spot but might get you close to where the error is
      4) if you really just want to get something running and a bit of unrelated code is causing problems you can comment that block of code out by using a block comment. Put /* before the area of code and */ at the end and it will comment out (ignore) everything in between. If you are unsure of what is causing the problem you can comment out a large area until it runs, then slowly add parts back in . Sometimes that helps narrow down the problem.
      I hope this helps you find your error(s).

    • @vanessaj.3472
      @vanessaj.3472 Год назад

      Hey, thank you so much for the effort. I will try that. Honestly I don't have any skills in coding so it's gonna bei hard, but these tipps are helping a Lot :)