예제 #1
0
 public void OnWillRenderObject()
 {
     if ((bool)reflection)
     {
         reflection.WaterTileBeingRendered(base.transform, Camera.current);
     }
     if ((bool)waterBase)
     {
         waterBase.WaterTileBeingRendered(base.transform, Camera.current);
     }
 }
예제 #2
0
 public void OnWillRenderObject()
 {
     if (reflection)
     {
         reflection.WaterTileBeingRendered(Camera.current);
     }
     if (waterBase)
     {
         waterBase.WaterTileBeingRendered(Camera.current);
     }
 }
예제 #3
0
 public void OnWillRenderObject()
 {
     if (!Camera.current.enabled)
     {
         return;
     }
     if (reflection)
     {
         reflection.WaterTileBeingRendered(transform, Camera.current);
     }
     if (waterBase)
     {
         waterBase.WaterTileBeingRendered(transform, Camera.current);
     }
 }