当前位置:网站首页>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
边栏推荐
- Oracle advanced (VI) Oracle expdp/impdp details
- OpenGL configure assimp
- PHP records the pitfalls encountered in the complete docking of Tencent cloud live broadcast and im live group chat
- 苹果在iOS 16中通过'虚拟卡'安全功能进一步进军金融领域
- Reinforcement learning - learning notes 9 | multi step TD target
- Revit secondary development - operation family documents
- Cannot find module 'xxx' or its corresponding type declaration
- MIT6.S081-Lab9 FS [2021Fall]
- ByteDance senior engineer interview, easy to get started, fluent
- OpeGL personal notes - lights
猜你喜欢
Where is the big data open source project, one-stop fully automated full life cycle operation and maintenance steward Chengying (background)?
[azure microservice service fabric] the service fabric cluster hangs up because the certificate expires (the upgrade cannot be completed, and the node is unavailable)
How to choose the appropriate automated testing tools?
How to realize the movement control of characters in horizontal game
operator
PKPM 2020软件安装包下载及安装教程
Matplotlib快速入门
Record a garbled code during servlet learning
Gazebo import the mapping model created by blender
What if the win11u disk does not display? Solution to failure of win11 plug-in USB flash disk
随机推荐
Programming mode - table driven programming
23. Merge K ascending linked lists -c language
Oracle advanced (VI) Oracle expdp/impdp details
[azure microservice service fabric] the service fabric cluster hangs up because the certificate expires (the upgrade cannot be completed, and the node is unavailable)
Revit secondary development - shielding warning prompt window
[environment] pycharm sets the tool to convert QRC into py file
C # realizes the communication between Modbus protocol and PLC
The PHP source code of the new website + remove authorization / support burning goose instead of pumping
ByteDance Android interview, summary of knowledge points + analysis of interview questions
DNS series (I): why does the updated DNS record not take effect?
The latest Android interview collection, Android video extraction audio
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xf9 in position 56: illegal multibyte sequence
How to judge whether the input content is "number"
DBSync新增对MongoDB、ES的支持
Robot autonomous exploration series papers environment code
【Azure微服务 Service Fabric 】因证书过期导致Service Fabric集群挂掉(升级无法完成,节点不可用)
Record a garbled code during servlet learning
Main functions of OS, Sys and random Standard Libraries
[problem] pytorch installation
How to realize the movement control of characters in horizontal game