Exemplo n.º 1
0
 void OnApplicationQuit()
 {
     server.Dispose();
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         capture_.Stop();
         capture_.Dispose();
     }
 }
    void OnDestroy()
    {
        Debug.Log("OnDestroy");

        if (Application.platform == RuntimePlatform.IPhonePlayer)
        {
            capture_.Stop();
            capture_.Dispose();
        }
    }