You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
664 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "LoginInfo", menuName = "ScriptableObjects/LoginInfo", order = 1)]
public class LoginInfo : ScriptableObject {
public string playerName;
public string password;
public Vector3 startPosition;
// sentLogin is set true when we send the login, and set back to false when
// we receive the result
public bool sentLogin;
// isLoggedIn is set to true when we receive a successful login attempt
public bool isLoggedIn;
// loginFailed is set to true when we fail a login
public string loginError;
}