예제 #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();
        }
예제 #2
0
 private void Awake()
 {
     NativeRenderingPluginUpdate.AddRef(this);
 }