ドキュメント

Unity Engine

Unity Engine

ReadOnly

Indicates if the property should generate a setter.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
public bool ReadOnly { get; set; }

Remarks

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