void Start() { //For WebGL games, use WebGLBroker.cs and javascript execution on the client to communicate with your game. pubnub = new Pubnub(PUBLISH_KEY, SUBSCRIBE_KEY); Subscribe(PUBSUB_CHANNEL); ConnectionStrategy.Ready(); }
void Update() { if (!CheckedIn && SubscriptionsComplete) { ConnectionStrategy.Ready(); CheckedIn = true; } }