Unity C# Tutorials - Completing A Level with a Win Message

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

КОМЕНТАРІ • 19

  • @nicklopez8004
    @nicklopez8004 3 роки тому +1

    Thank you so much for this, it helped alot, you deserve more subs, also thanks to this video, it gave me an idea if I could do the same thing if an enemy runs into you except have a game over message

  • @moontowhee
    @moontowhee 4 роки тому

    This is soo handy man, thank you so much!

  • @therealityworld5948
    @therealityworld5948 3 роки тому

    Thank you so much dude,l was working on another project but l forgot to check( Is trigger).

  • @crimsonskorpio
    @crimsonskorpio 7 років тому

    Thank you for this, it helped me out big time!

    • @cap.creauis4868
      @cap.creauis4868 6 років тому

      can you send the c# script
      many errs with me

  • @kikoyinyee
    @kikoyinyee 7 років тому

    thank you. it's working perfectly!

  • @McCallaFilms
    @McCallaFilms 6 років тому +9

    not working

  • @Ken_Shao
    @Ken_Shao 4 роки тому

    It never works for me, I spend two nights repeatly check each steps from this video in my code, it either demage my entire project or never trigger out You Win!!!!!!!! text.

    • @nicklopez8004
      @nicklopez8004 3 роки тому

      you have to type the code the exact way he types it, cause it works for me, I am using the 2019 version of unity

    • @Ken_Shao
      @Ken_Shao 3 роки тому

      @@nicklopez8004 Thank you so much.

  • @shyamsundarkalyanaraman5900
    @shyamsundarkalyanaraman5900 4 роки тому

    If we lost it how to display same way?

  • @mubassirnadar7193
    @mubassirnadar7193 6 років тому

    Hi! I need a JavaScript that allows me to go to the next level after I have reached a 5000 score ??pinball game

  • @ImNotBirb
    @ImNotBirb 4 роки тому

    It doesn't work for me.

  • @anurodhpandey8657
    @anurodhpandey8657 3 роки тому

    You Win text visible at start. help??

  • @Renzo-cn4zw
    @Renzo-cn4zw 6 років тому

    the link please of the scripts

    • @sl7722
      @sl7722 5 років тому +1

      1st one
      using UnityEngine;
      using System.Collections;
      public class triggerini : MonoBehaviour
      {
      void OnTriggerEnter()
      {
      }
      }
      2nd one
      using UnityEngine;
      using System.Collections;
      public class GameManager : MonoBehaviour
      {
      public static GameManager instance = null;
      public GameObject youWinText;
      public float resetDelay;
      void Awake()
      {
      if (instance == null)
      instance = this;
      else if (instance != null)
      Destroy(gameObject); }
      public void Win()
      {
      youWinText.SetActive(true);
      Time.timeScale = .2f;
      Invoke ("Reset", resetDelay);
      }
      void Reset()
      {
      Time.timeScale = 1.0f;
      Application.LoadLevel(Application.loadedLevel);
      }
      }

  • @hosechavez1
    @hosechavez1 7 років тому

    Are you a teacher?

    • @hosechavez1
      @hosechavez1 7 років тому

      and thank you for the information it is helping me a lot.