当前位置:网站首页>Unity technical notes (I) inspector extension
Unity technical notes (I) inspector extension
2022-07-07 22:31:00 【Dimensional survivor】
1 Show private variables , Hide public variables
[SerializeField] Add to private Private variables can be displayed before
[NonSerialized] Add to public Common variables can be hidden before , Make it not serialized
[HideInInspector] Add to public Common variables can be hidden before
2 Add a note
[Header(" ")] Add a title
[ToolTip(" ")] Add a mouse over prompt comment to the next line
3 Serialization display of special variables , Such as class 、 Linked list 、 Structure 、 enumeration
[System.Serializable] You can serialize the class and display
4 Special function , Such as buttons, etc
[Range(,)] Add a slider , Used to adjust the value of the variable
[TextArea(,)] Show multiline text box , Easy to edit string Variable
边栏推荐
- Ueeditor custom display insert code
- How to write an augmented matrix into TXT file
- How to judge whether the input content is "number"
- What if the win11u disk does not display? Solution to failure of win11 plug-in USB flash disk
- 双塔模型的最强出装,谷歌又开始玩起“老古董”了?
- ByteDance senior engineer interview, easy to get started, fluent
- Aspose. Word operation word document (I)
- Pre sale 179000, hengchi 5 can fire? Product power online depends on how it is sold
- [colmap] sparse reconstruction is converted to mvsnet format input
- C development - interprocess communication - named pipeline
猜你喜欢
How to quickly check whether the opening area ratio of steel mesh conforms to ipc7525
100million single men and women "online dating", supporting 13billion IPOs
Time standard library
新版代挂网站PHP源码+去除授权/支持燃鹅代抽
微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹
Application practice | the efficiency of the data warehouse system has been comprehensively improved! Data warehouse construction based on Apache Doris in Tongcheng digital Department
Overseas agent recommendation
【Azure微服务 Service Fabric 】因证书过期导致Service Fabric集群挂掉(升级无法完成,节点不可用)
Paint basic graphics with custompaint
[open source] Net ORM accessing Firebird database
随机推荐
Welcome to CSDN markdown editor
Xcode modifies the default background image of launchscreen and still displays the original image
怎样写一个增广矩阵到txt文件中
OpenGL configure assimp
Kaggle-Titanic
Use json Stringify() to realize deep copy, be careful, there may be a huge hole
How to write an augmented matrix into TXT file
Robot autonomous exploration series papers environment code
UWA Q & a collection
#DAYU200体验官#MPPT光伏发电项目 DAYU200、Hi3861、华为云IotDA
Overseas agent recommendation
Revit secondary development - project file to family file
[open source] Net ORM accessing Firebird database
Revit secondary development - wall opening
变量与常量
Unity development --- the mouse controls the camera to move, rotate and zoom
IP网络主动测评系统——X-Vision
【Azure微服务 Service Fabric 】因证书过期导致Service Fabric集群挂掉(升级无法完成,节点不可用)
Cataloger integrates lidar and IMU for 2D mapping
Build your own website (18)