GameCode

public string GameCode;

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void Update()
    {
        if(Input.GetKeyDown(KeyCode.Space))
        {
            // Display game code when pressing spacebar
            Debug.Log(GameCode);
        }
    }
}

Gets the AirConsole game code used for joining a session.

Will be null if AirConsole API is not ready.