Enum LayerMasks
All available LayerMasks.
[Flags]
public enum LayerMasks
- Extension Methods
Fields
All = -1None = 0Default = 1Collides with everything.
TransparentFX = 2IgnoreRaycast = 4All colliders that ignore raycasts.
Water = 16UI = 32Player = 256InteractableNoPlayerCollision = 512All interactables.
Viewmodel = 1024RenderAfterFog = 4096Hitbox = 8192Any Hitbox layer, including player.
Glass = 16384Can only be seen through.
InvisibleCollider = 65536Ragdoll = 131072CCTV = 262144All Scp079 cameras.
Grenade = 1048576Phantom = 2097152OnlyWorldCollision = 33554432Door = 134217728All doors.
Skybox = 268435456Fence = 536870912Can be seen and shoot through, but not walked through.
Scp173Teleport = Default | Water | UI | Door | FenceScp049Resurect = 1AttackMask = Default | Glass | DoorInteractionMask = Player | Hitbox | InteractionAnticheatMask | FenceInteractionAnticheatMask = InteractableNoPlayerCollision | AttackMask