当前位置:网站首页>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
边栏推荐
- Record layoutrebuild Forcerebuildlayoutimmediate does not take effect
- 应用实践 | 数仓体系效率全面提升!同程数科基于 Apache Doris 的数据仓库建设
- PHP method of obtaining image information
- Remember an experience of using selectmany
- Robot autonomous exploration series papers environment code
- [colmap] sparse reconstruction is converted to mvsnet format input
- Remember that a development is encountered in the pit of origin string sorting
- Xcode modifies the default background image of launchscreen and still displays the original image
- The function is really powerful!
- Remove the default background color of chrome input input box
猜你喜欢
php 获取图片信息的方法
IP network active evaluation system -- x-vision
如何实现横版游戏中角色的移动控制
【Azure微服务 Service Fabric 】如何转移Service Fabric集群中的种子节点(Seed Node)
What does it mean to prefix a string with F?
Form组件常用校验规则-2(持续更新中~)
IP网络主动测评系统——X-Vision
vite Unrestricted file system access to
Ternary expressions, generative expressions, anonymous functions
[open source] Net ORM accessing Firebird database
随机推荐
Revit secondary development - operation family documents
【Azure微服务 Service Fabric 】在SF节点中开启Performance Monitor及设置抓取进程的方式
Two methods of calling WCF service by C #
Aspose. Word operation word document (II)
UWA问答精选
Cataloger integrates lidar and IMU for 2D mapping
Cannot find module 'xxx' or its corresponding type declaration
Main functions of OS, Sys and random Standard Libraries
The difference between NPM uninstall and RM direct deletion
How to choose the appropriate automated testing tools?
Customer case | China law network, through observing the cloud, greatly shortens the time of fault location
Pre sale 179000, hengchi 5 can fire? Product power online depends on how it is sold
Tcp/ip protocol stack
微服务架构开源框架详情介绍
php 记录完整对接腾讯云直播以及im直播群聊 所遇到的坑
Blender exchange group, welcome to the water group ~
Record layoutrebuild Forcerebuildlayoutimmediate does not take effect
【Azure微服务 Service Fabric 】如何转移Service Fabric集群中的种子节点(Seed Node)
php 获取图片信息的方法
Ren Qian code compilation error modification