Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public InputField Username;
- public InputField Email;
- public InputField Password;
- bool isLogged = false;
- public void Register()
- {
- string userID = Username.text.ToString();
- string userEm = Email.text.ToString();
- string userPass = Password.text.ToString();
- string[] creds = { userID, userEm, userPass };
- RegisterPanel.SetActive(false);
- isLogged = true;
- System.IO.File.WriteAllLines(@"C:\Users\Alexandru\Documents\Register Login\credsUnity.txt", creds);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement