public void OnMatchOffer(Match m) { Debug.Log ("OnMatchOffer"); // We received a match offer, accept it as soon as the local scene // has loaded. EventManager.Instance.RegisterPlaySceneReadyListener(() => { m.AcceptOffer (); }); }