Пример #1
0
    void conectar()
    {
        DB_Connector dbconnector = GameObject.Find("Scripts").GetComponent <DB_Connector> ();

        con = dbconnector.conectar();

        Debug.Log("**************");
    }
Пример #2
0
    void conectar()
    {
        DB_Connector dbconnector = GameObject.Find("Scripts").GetComponent <DB_Connector> ();

        do
        {
            con = dbconnector.conectar();
        } while(!dbconnector.conexion);
    }