REGENERATING ENERGY BAR IN UNITY 🎮 | Energy System Unity Tutorial | Learn Unity For Free

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

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

  • @Dani_Krossing
    @Dani_Krossing  2 года назад +3

    A small typo at 4:30... It's UnitStamina and not Unitstamina. 🙂

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

      Can u put your code in git hub and send me the link pls? Good video

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

      Responde meninoooooooooooo

  • @pl4yerzdev417
    @pl4yerzdev417 9 месяцев назад +1

    Nice tutorial. I converted the system to a shield- and laserenergysystem for my game. Works like a charm. Thanks!

  • @sebastiantomasson1141
    @sebastiantomasson1141 7 месяцев назад +1

    Funny, I went from your health bar tutorial searching for a stamina recovery one. Pressed one at random and here I am again.

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

    Your videos are very helpful keep up the great work!

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

    Im not sure why, but there seems to be an issue where the _currentStamina is inaccesible due to protection level, which could be the reason why the player behaviour keeps returning NULL, does anyone know what is wrong?

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

    My playerBehaviour is basically the same as yours but somehow, I get an null object reference error...

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

      Same here, I'm not able to reference the _staminabar for some reason

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

    I can't add the Staminabar script to the SB_Fill because there's an error at line 30 in UnitStamina where it says _currentMaxStamina;
    I rewound the video to 7:55 where we can see your script and yours is red underlined too yet yours works :S
    does anyone know what I've done wrong?
    FIXED: Changed it to float from int and it worked.

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

    Make a video showing your setup and video editing software 😩

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

    OK... I am a tab border in the browser but I would go crazy with that many on the taskbar 😂😂

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

    FIRST!!!!

    • @Dani_Krossing
      @Dani_Krossing  2 года назад +4

      No one is faster than my biggest fan!

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

      @@Dani_Krossing my dic* is bigger

  • @favour5442
    @favour5442 2 года назад +3

    I assume you want to become brackeys v2.0 🌚🌚

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

      Well he is doing a great job!

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

      @@crater4513 Yeah, But i wished he'd stick with php. I thinks he's one of the best teachers on yt.
      Sometimes i have questions, but cant ask cos he's pivoted the channel to another niche

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

      @@favour5442 fair

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

    he looks and sounds like he could be elon musk's cousin