Ejemplo n.º 1
0
        //-------Database Connect
        public void connect()
        {
            connInfo.User_Id  = username;
            connInfo.Password = password;
            connInfo.DataBase = database;
            connInfo.Server   = server;

            dMen = new DataMenager(connInfo);
        }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
         StartProcess();
     }
     else
     {
         Destroy(gameObject);
     }
     DontDestroyOnLoad(gameObject);
 }