Beispiel #1
0
    public override void BoltShutdownBegin(Bolt.AddCallback registerDoneCallback)
    {
        base.BoltShutdownBegin(registerDoneCallback);

        UnityEngine.Debug.Log("bolt shutdown begin");

        try
        {
            BoltNetwork.DisableLanBroadcast();
        }
        catch (Exception e)
        {
            UnityEngine.Debug.LogException(e);
        }

        if (null != OnShutdownBegin)
        {
            OnShutdownBegin.Invoke();
            OnShutdownBegin = null;
        }

        registerDoneCallback(onShutdown);
    }
 public void Shutdown()
 {
     BoltNetwork.DisableLanBroadcast();
     BoltLauncher.Shutdown();
 }
 public override void OnEnter()
 {
     BoltNetwork.DisableLanBroadcast();
     Finish();
 }