Attributes
Attributes without parameters should be written on the same line as an attribute's owner.
[Signal] public delegate void PlayerJumpedEventHandler();
[Export] public Vector2 Position { get; set; }
[Export] private float time;
[Export(PropertyHint.Range, "0, 60")]
private int fps = 30;
/// <summary> Enter a description for the variable if needed. </summary>
[Export(PropertyHint.NodePathValidTypes, "CollisionShape3D")]
private NodePath collider;
Attributes with parameters should not be written on the same line as an attribute owner.
[Export(PropertyHint.Range, "0, 60")]
private int fps = 30;
/// <summary> Enter a description for the variable if needed. </summary>
[Export(PropertyHint.NodePathValidTypes, "CollisionShape3D")]
private NodePath collider;
Last updated