当前位置:网站首页>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
边栏推荐
- PHP records the pitfalls encountered in the complete docking of Tencent cloud live broadcast and im live group chat
- 强化学习-学习笔记9 | Multi-Step-TD-Target
- Interview question 01.02 Determine whether it is character rearrangement - auxiliary array algorithm
- 如何实现横版游戏中角色的移动控制
- Latest Android advanced interview questions summary, Android interview questions and answers
- 应用实践 | 数仓体系效率全面提升!同程数科基于 Apache Doris 的数据仓库建设
- How to realize the movement control of characters in horizontal game
- Programming mode - table driven programming
- Dbsync adds support for mongodb and ES
- ByteDance senior engineer interview, easy to get started, fluent
猜你喜欢

Antd date component appears in English

Pdf document signature Guide

Visual design form QT designer design gui single form program

Use blocconsumer to build responsive components and monitor status at the same time

UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xf9 in position 56: illegal multibyte sequence
Redis官方ORM框架比RedisTemplate更优雅

How to quickly check whether the opening area ratio of steel mesh conforms to ipc7525

Node:504 error reporting

Paint basic graphics with custompaint

Implementation method of data platform landing
随机推荐
Build your own website (18)
null == undefined
php 获取图片信息的方法
OpenGL configure assimp
Tcp/ip protocol stack
[open source] Net ORM accessing Firebird database
Use partial derivatives to display normals in unity
ByteDance senior engineer interview, easy to get started, fluent
It's worth seeing. Interview sites and interview skills
Visual design form QT designer design gui single form program
Failed to initialize rosdep after installing ROS
How to choose the appropriate automated testing tools?
Redis官方ORM框架比RedisTemplate更优雅
使用 CustomPaint 绘制基本图形
Remember aximp once Use of exe tool
C # Development -- pit encountered in JS intermodulation
Revit secondary development - operation family documents
Application practice | the efficiency of the data warehouse system has been comprehensively improved! Data warehouse construction based on Apache Doris in Tongcheng digital Department
Where is the big data open source project, one-stop fully automated full life cycle operation and maintenance steward Chengying (background)?
Revit secondary development - wall opening