CreatePropertyAttribute
Use this attribute to have a property generated for the member.
Read time 3 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: Unity.Properties
- Assembly: UnityEngine.ScriptingModule
- Inherits from: RequiredMemberAttribute
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]public class CreatePropertyAttribute : RequiredMemberAttribute
Remarks
By default public fields will have properties generated.
Properties
Property | Description |
|---|---|
| ReadOnly | Indicates if the property should generate a setter. |