ReadOnly Attribute View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
5.3.4 or later
Package size
15 KB
Files
3
Favorites
46
Views in the past week
4

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

ReadOnly Attribute

by Cody Anderson (opens in new tab)

4.9 / 5 · 9 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 8
4 stars 1
3 stars 0
2 stars 0
1 star 0
Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for ReadOnly Attribute, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 1

ReadOnly Attribute screenshot 1

ReadOnly Attribute screenshot 1

About this asset

Add the [ReadOnly] attribute before a variable to have it show in the inspector but be uneditable.
Note: The [ReadOnly] attribute will only work on serialized variables. Therefore, the variable should be public or also have the [SerializeField] attribute.

From the publisher's Asset Store listing.