Exemple #1
0
    private void Update()
    {
        if (OnBool)
        {
            OnEvent.Invoke();
        }
        else
        {
            OffEvent.Invoke();
        }
        if (Number >= 10)
        {
            print("Greater");
        }
        else
        {
            print("Lesser");
        }

        if (Password == "OU812")
        {
            print("The password is correct");
        }
        else
        {
            print("The password is incorrect");
        }
    }
Exemple #2
0
 // Update is called once per frame
 void Update()
 {
     if (OnBool)
     {
         OnEvent.Invoke();
     }
     else
     {
         OffEvent.Invoke();
     }
 }
    // Update is called once per frame
    private void Update()
    {
        if (OnBool)
        {
            OnEvent.Invoke();
        }
        else
        {
            OffEvent.Invoke();
        }



        print(Number >= 10 ? "Greater" : "Lesser");

        print(Password == "OU812" ? "The password is correct" : "The password is incorrect");
    }
Exemple #4
0
    private void Update()
    {
        if (OnBool)
        {
            OnEvent.Invoke();
        }
        else
        {
            OffEvent.Invoke();
        }

        if (Number >= 10)
        {
            print("S Rank!!!!");
        }

        if (Password == "Dreamless")
        {
            print("Correct!");
        }
    }
Exemple #5
0
 private void TurnOff()
 {
     OffEvent.Invoke();
 }