当前位置:网站首页>Unity3d tips
Unity3d tips
2022-07-16 07:22:00 【MaNongSa】
Tips
Beginners often use Mark field usage
| Use name | effect |
|---|---|
| [Header(“ Mark ”)] | It can explain the purpose of variables |
| [Tooltip(“ I am a floating point number ”) | Mouse stop prompt |
| [Range(min, max)]` | Show scroll bar |
| [HideInInspector] | Hide variables |
| [NonSerialized] | Hide in layout public attribute , Do not perform serialization |
| [InspectorName(“ enumeration A”)] | Tag the enumeration value of the enumeration type , You can make the enumeration value in Inspector The name displayed on the changes |
| [Space] | Can form a gap with the top , With parameters [Space(30) |
| [System.Serializable] | serialize p1 |
| [EquireComponent(type Component name ))] | Determine whether there is this component |
| RequireComponent(typeof(NavMeshAgent)) | Automatically find whether the component is not automatically licked |
//p1
[System.Serializable]
public class EventVector3 : UnityEvent<Vector3> { };
public EventVector3 eventVector3;
边栏推荐
- Basic knowledge of redis - rookie tutorial
- 硬件课程设计:基于STM32的多功能播放器之图片浏览
- Headfirst state mode source code
- SAP DUMP CALLBACK_ REJECTED_ BY_ WHITELIST - SE51, RSSCREENPAINTER
- 最大相连子序列和
- Related use of unityc intermediate grammar
- unity3d-记录案例小点
- SAP BW extraction layer error s:aa 821 (bukrs)
- SAP ABAP BAPI_ MATERIAL_ Availability query available inventory
- Hardware course design: MP3 music playback of multi-function player based on stm32
猜你喜欢
随机推荐
MySQL——數據頁
Rapport d'essai du plan de mise en œuvre de la sécurité dans les environnements San et NAS
One way linked list implements queue and stack
硬件课程设计:基于STM32的多功能播放器之MP3音乐播放
MyCli之多行模式
(1) OSI model
Hardware course design: picture browsing of multi-function player based on stm32
Related use of unityc intermediate grammar
Implementation of dynamic array vector class template
The official case of unity rubyadventure
unity3d-射线
SAP BW 抽取层错误S:AA 821 (bukrs)
SAP OPEN SQL
Shut up that thing
Hardware course design: small game of multi-function player based on stm32
SAP tables transparent tables and views (continuously updated)
硬件课程设计:基于STM32的多功能播放器之聊天功能
Hash table
Maximum connected subsequence sum
最大相连子序列和

![[learning records on June 5]](/img/e2/e50d4f12ffdf9332c75a4b2635a85c.png)







