Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class DialogControl : MonoBehaviour
- {
- public int state = 0;
- public Text dialogText;
- public void Next()
- {
- state++;
- switch (state)
- {
- case 1:
- dialogText.text = "Software Engineer: I can't get access to my email, can you help";
- break;
- case 2:
- dialogText.text = "Cyber Security Engineer: Do you remember your log-in information";
- break;
- case 3:
- dialogText.text = "Software Engineer: I remember my username I.D, but I forgot my password";
- break;
- case 4:
- dialogText.text = "Cyber Security Engineer: I can't give you access unless you remember your password or unless if you change it";
- break;
- case 5:
- dialogText.text = "Software Engineer: Ok then, I would like to reset my password";
- break;
- case 6:
- dialogText.text = "Cyber Security Engineer: ok, type your information on the green screen and you'll receive a text or email shortly with a code to verify to retrieve your new password";
- break;
- case 7:
- dialogText.text = "Software Engineer: ok thanks, now I just verified the code and updated my new password. I'm about to log in right now";
- break;
- case 8:
- dialogText.text = "Cyber Security Engineer: It's official, your all logged in and all set to go";
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement