Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CreatePropertyAttribute.ReadOnly

public bool ReadOnly;

Description

Indicates if the property should generate a setter.

Setting this to false will not generate a setter for a readonly field or a get only property.