mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-23 00:38:23 -05:00
509 B
509 B
Show In Inspector Attribute
Allows non-serialized fields or properties to be edited in the Inspector. Note that these values are not serialized, and changes are not saved.
[NonSerialized, ShowInInspector]
public int field;
[NonSerialized, ShowInInspector]
public SampleClass classField = new();
[ShowInInspector]
public int Getter => 10;
[field: NonSerialized, ShowInInspector]
public string Property { get; set; } = string.Empty;