Ejemplo n.º 1
0
        private void OnDestroy()
        {
            NativeRenderingPluginUpdate.DecRef(this);

            // Teardown will also get called when the PeerConnection is destroyed.
            // So this is probably going to be called twice in many cases.
            TearDown();
        }
Ejemplo n.º 2
0
 private void Awake()
 {
     NativeRenderingPluginUpdate.AddRef(this);
 }