From 8ab1d8d06c90cb253bf88217efaa0e9c5bca97f9 Mon Sep 17 00:00:00 2001 From: copygirl Date: Tue, 14 May 2024 12:30:30 +0200 Subject: [PATCH] Update PhysicsLayer and RenderLayer enums --- scripts/globals/PhysicsLayer.cs | 10 +++++----- scripts/globals/RenderLayer.cs | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/globals/PhysicsLayer.cs b/scripts/globals/PhysicsLayer.cs index 12f7520..89ba1dc 100644 --- a/scripts/globals/PhysicsLayer.cs +++ b/scripts/globals/PhysicsLayer.cs @@ -1,15 +1,15 @@ [Flags] -public enum PhysicsLayer : uint { +public enum PhysicsLayer : uint +{ /// Objects that are part of the scene, and never move. Static = 1 << 0, - /// Objects the player collides with, but may move. + /// Objects players collide with, but may move. Dynamic = 1 << 1, - /// The player. + /// Any players, both local and remote. Player = 1 << 2, - /// Small objects the player doesn't collide with, but collide with the player. + /// Small objects players don't collide with, but collide with players. Item = 1 << 3, - /// Objects that may be picked up. Pickup = 1 << 8, /// Objects that other objects may be placed against. diff --git a/scripts/globals/RenderLayer.cs b/scripts/globals/RenderLayer.cs index 9d67e85..9127ad8 100644 --- a/scripts/globals/RenderLayer.cs +++ b/scripts/globals/RenderLayer.cs @@ -1,5 +1,6 @@ [Flags] -public enum RenderLayer : uint { +public enum RenderLayer : uint +{ Default = 1 << 0, Outline = 1 << 1, }