//-------Database Connect public void connect() { connInfo.User_Id = username; connInfo.Password = password; connInfo.DataBase = database; connInfo.Server = server; dMen = new DataMenager(connInfo); }
// Start is called before the first frame update void Awake() { if (Instance == null) { Instance = this; StartProcess(); } else { Destroy(gameObject); } DontDestroyOnLoad(gameObject); }