void conectar() { DB_Connector dbconnector = GameObject.Find("Scripts").GetComponent <DB_Connector> (); con = dbconnector.conectar(); Debug.Log("**************"); }
void conectar() { DB_Connector dbconnector = GameObject.Find("Scripts").GetComponent <DB_Connector> (); do { con = dbconnector.conectar(); } while(!dbconnector.conexion); }