blob: 2586db11378755fdc124392083f6d233dcf03d95 (
plain)
1
2
3
4
5
6
7
8
9
|
using Godot;
public partial class AllReadOnly : GodotObject
{
public readonly string ReadOnlyField = "foo";
public string ReadOnlyAutoProperty { get; } = "foo";
public string ReadOnlyProperty { get => "foo"; }
public string InitOnlyAutoProperty { get; init; }
}
|