public void When(OffEvent e)
 {
     if (e.ViewName.Contains("1") || e.ViewName.Contains("all"))
     {
         this._writer.UpdateEnforcingNew(2, v => v.Flag = false);
     }
 }
Exemple #2
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 #3
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 #5
0
    private void Update()
    {
        if (OnBool)
        {
            OnEvent.Invoke();
        }
        else
        {
            OffEvent.Invoke();
        }

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

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