Do not forget to mark that class and its properties serializable. If you have to serialize Unity type object, like Text, you cannot go ... ... <看更多>
Search
Search
Do not forget to mark that class and its properties serializable. If you have to serialize Unity type object, like Text, you cannot go ... ... <看更多>
A serializable dictionary class for Unity. Unity cannot serialize standard dictionaries. This means that they won't show or be edited in the inspector and they ... ... <看更多>
1. 基本概念Unity3D 中提供了非常方便的功能可以帮助用户将成员变量在Inspector中显示,并且定义Serialize关系,Unity会自动为Public变量做序列化, ... ... <看更多>
The [SerializeField] attribute instructs Unity to serialize the field regardless of the accesibility. All three fields below gets serialized ... ... <看更多>