Documentation

Unity Engine

Unity Engine

ReadOnly

Indicates if the property should generate a setter.
Read time 1 minuteLast updated 3 hours ago

Definition

public bool ReadOnly { get; set; }

Remarks

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