Version: 5.4

Physics.IgnoreRaycastLayer

Cambiar al Manual
public static int IgnoreRaycastLayer ;

Descripción

Constante Layer mask para seleccionar la raycast layer que se ignora.

This can be used in the layermask field of Physics.Raycast and other methods to select the "ignore raycast" layer (which does not receive raycasts by default). See Also: Physics.AllLayers, Physics.DefaultRaycastLayers.