コード例 #1
0
 void OnDestroy()
 {
     if (mReconstructionBehaviour)
     {
         mReconstructionBehaviour.UnregisterInitializedCallback(OnInitialized);
         mReconstructionBehaviour.UnregisterPropCreatedCallback(OnPropCreated);
         mReconstructionBehaviour.UnregisterSurfaceCreatedCallback(OnSurfaceCreated);
     }
 }