Пример #1
0
 void RemoveRenderEventCall()
 {
     foreach (Camera cam in Camera.allCameras)
     {
         NsRenderManager nsr = cam.GetComponent <NsRenderManager>();
         if (nsr != null)
         {
             nsr.RemoveRenderEventCall(this);
         }
     }
 }
Пример #2
0
 void RemoveRenderEventCall()
 {
     for (int i = 0; i < Camera.allCameras.Length; ++i)
     {
         NsRenderManager nsr = Camera.allCameras[i].GetComponent <NsRenderManager>();
         if (nsr != null)
         {
             nsr.RemoveRenderEventCall(this);
         }
     }
 }
Пример #3
0
 private void RemoveRenderEventCall()
 {
     Camera[] allCameras = Camera.allCameras;
     for (int i = 0; i < allCameras.Length; i++)
     {
         Camera          camera    = allCameras[i];
         NsRenderManager component = camera.GetComponent <NsRenderManager>();
         if (component != null)
         {
             component.RemoveRenderEventCall(this);
         }
     }
 }