Win and Lose States | Advancing Roll-a-Ball | Unity Tutorial

Поділитися
Вставка
  • Опубліковано 29 сер 2024

КОМЕНТАРІ • 7

  • @johanneschin6461
    @johanneschin6461 Рік тому

    my player won't disappear after i died and i copied the code exactly the same from the vid can someone help

  • @rturtle7523
    @rturtle7523 2 роки тому

    ok how do i fix thies Assets\Materials\Scripts\MenuController.cs(31,34): error CS0119: 'Component.GetComponent()' is a method, which is not valid in the given context plz help me i dont know how to do thies

    • @Talgie228
      @Talgie228 Рік тому

      Without the surrounding lines of code, it is hard to determine the error. If you're still having the issue, paste your code into Pastebin and drop a link here so someone can look at it.

  • @desasterdani
    @desasterdani 2 роки тому

    Hey! Typed the code exact, showing compile error the namespace MenuController cannot be found?

    • @desasterdani
      @desasterdani 2 роки тому

      Ahh I narrowed it down to Menucontroller does not contain a definition for WinGame or LoseGame and I can't add the MenuController script to the canvas o' course. Would love some help, thx!

    • @KeySmashStudios
      @KeySmashStudios  2 роки тому +1

      @@desasterdani you can add the script to an empty game object that is always active. Namespace errors are usually a typo in the script name versus the namespace that's labeled in the script

    • @desasterdani
      @desasterdani 2 роки тому

      @@KeySmashStudios awesome, okay I'll check it again, thank you