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"); } }
// 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"); }
private void Update() { if (OnBool) { OnEvent.Invoke(); } else { OffEvent.Invoke(); } if (Number >= 10) { print("S Rank!!!!"); } if (Password == "Dreamless") { print("Correct!"); } }
private void TurnOff() { OffEvent.Invoke(); }