// JS @HideInInspector var strength: float; // C# [HideInInspector] public float strength;
Unity provides a number of attributes which are listed in the script reference (select the Editor or Runtime Attributes section from popup menu in the sidebar). There are also attributes defined in the .NET libraries which may sometimes be useful in Unity code.
Note: the ThreadStatic attribute defined in the .NET library should not be used as it will cause a crash if added to a Unity script.
Did you find this page useful? Please give it a rating: