Physics2D.AllLayers

public static int AllLayers;

Description

Layer mask constant that includes all layers.

Additional resources: DefaultRaycastLayers, IgnoreRaycastLayer.


Did you find this page useful? Please give it a rating: