当前位置:网站首页>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
边栏推荐
- 使用 CustomPaint 绘制基本图形
- Aspose. Word operation word document (II)
- Dayu200 experience officer MPPT photovoltaic power generation project dayu200, hi3861, Huawei cloud iotda
- UWA问答精选
- Typeorm automatically generates entity classes
- PKPM 2020 software installation package download and installation tutorial
- Revit secondary development - link file collision detection
- Variables and constants
- 新版代挂网站PHP源码+去除授权/支持燃鹅代抽
- Display optimization when the resolution of easycvr configuration center video recording plan page is adjusted
猜你喜欢
如何实现横版游戏中角色的移动控制
双塔模型的最强出装,谷歌又开始玩起“老古董”了?
Gazebo import the mapping model created by blender
Robot autonomous exploration series papers environment code
Overseas agent recommendation
[advanced MySQL] index details (I): index data page structure
Two methods of calling WCF service by C #
[environment] pycharm sets the tool to convert QRC into py file
新版代挂网站PHP源码+去除授权/支持燃鹅代抽
[problem] pytorch installation
随机推荐
Cataloger integrates lidar and IMU for 2D mapping
Ren Qian code compilation error modification
How to choose the appropriate automated testing tools?
Px4 autonomous flight
C # Development -- pit encountered in JS intermodulation
How pyGame rotates pictures
如何选择合适的自动化测试工具?
Add get disabled for RC form
海外代理推荐
Overseas agent recommendation
Use partial derivatives to display normals in unity
Redis official ORM framework is more elegant than redistemplate
[azure microservice service fabric] how to transfer seed nodes in the service fabric cluster
使用 BlocConsumer 同时构建响应式组件和监听状态
Cannot find module 'xxx' or its corresponding type declaration
The latest Android interview collection, Android video extraction audio
Get the exact offset of the element
Customer case | China law network, through observing the cloud, greatly shortens the time of fault location
OpenGL configure assimp
Revit secondary development - modify wall thickness