Added EditorFlags: Hide entities in hierarchy and editor scene

- Also some Style changes
This commit is contained in:
Simon Lübeß
2024-03-10 12:21:20 +01:00
parent 5ca5404f72
commit 8d92822845
15 changed files with 242 additions and 40 deletions
+20
View File
@@ -0,0 +1,20 @@
namespace GlitchyEngine.Editor;
/// <summary>
/// Flags to controls the visibility of the entity in the editor and how it can be interacted with for editing.
/// </summary>
public enum EditorFlags : byte
{
/// <summary>
/// The default behaviour: The entity is visible in the hierarchy and in the scene, and can be interacted with.
/// </summary>
Default = 0,
/// <summary>
/// The entity is hidden in the hierarchy.
/// </summary>
HideInHierarchy = 1,
/// <summary>
/// The entity is hidden in the scene.
/// </summary>
HideInScene = 2,
}