Beispiel #1
0
 private void CastRay(Ray ray, LayerMask layer)
 {
     if (Physics.Raycast(ray, layer))
     {
         bm.Incr();
     }
 }