Ejemplo n.º 1
0
	void Start() {
		glsdk = GlasslabSDK.Instance;

		// Connect to the server and set basic app information
		// The first parameter indicates the location of the internal SDK database
		// for storing telemetry information. Leave this blank for iOS deployment.
		Debug.Log( "Attempting to connect..." );
		glsdk.Connect( Application.persistentDataPath, "TEST", "http://developer.playfully.org", ConnectDone );
		glsdk.SetName( "My Awesome Game" );
		glsdk.SetVersion( "1.0" );
	}
Ejemplo n.º 2
0
    void Start()
    {
        glsdk = GlasslabSDK.Instance;

        // Connect to the server and set basic app information
        // The first parameter indicates the location of the internal SDK database
        // for storing telemetry information. Leave this blank for iOS deployment.
        Debug.Log("Attempting to connect...");
        glsdk.Connect(Application.persistentDataPath, "TEST", "http://developer.playfully.org", ConnectDone);
        glsdk.SetName("My Awesome Game");
        glsdk.SetVersion("1.0");
    }
Ejemplo n.º 3
0
	void Start() {
		glsdk = GlasslabSDK.Instance;

		// Connect to the server and set basic app information
		// The first parameter indicates the location of the internal SDK database
		// for storing telemetry information. Leave this blank for iOS deployment.
		glsdk.Connect( "", "MAG-1", "http://myURL.org" );
		glsdk.SetName( "My Awesome Game" );
		glsdk.SetVersion( "1.0" );
		
		// Attempt to login.
		Debug.Log( "Login..." );
		glsdk.Login( "testUsername", "testPassword", LoginDone );
	}
Ejemplo n.º 4
0
    void Start()
    {
        glsdk = GlasslabSDK.Instance;

        // Connect to the server and set basic app information
        // The first parameter indicates the location of the internal SDK database
        // for storing telemetry information. Leave this blank for iOS deployment.
        glsdk.Connect("", "MAG-1", "http://myURL.org");
        glsdk.SetName("My Awesome Game");
        glsdk.SetVersion("1.0");

        // Attempt to login.
        Debug.Log("Login...");
        glsdk.Login("testUsername", "testPassword", LoginDone);
    }