Documentation

This commit is contained in:
Simon Lübeß
2023-12-13 14:45:33 +01:00
parent ed756f5847
commit a129156641
17 changed files with 211 additions and 37 deletions
+4
View File
@@ -2,6 +2,10 @@
namespace GlitchyEngine.Editor;
/// <summary>
/// Specifies, that the field should be readonly, so that it cannot be changed in the editor.<br/>
/// Note, that this only affects the editor. Scripts can still change the values.
/// </summary>
public sealed class ReadonlyAttribute : Attribute
{
}
+3
View File
@@ -3,6 +3,9 @@ using System;
namespace GlitchyEngine.Editor;
/// <summary>
/// Specifies the visibility of a button.
/// </summary>
public enum ButtonVisibility
{
/// <summary>
+4
View File
@@ -4,6 +4,10 @@ using System.Text;
namespace GlitchyEngine.Editor;
/// <summary>
/// Specifies the properties of the textfield for the <see cref="string"/> that the attribute is attached to.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public sealed class TextFieldAttribute : Attribute
{
/// <summary>