浏览代码

Address review

Eideren 2 年之前
父节点
当前提交
c63677aedd
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      en/manual/scripts/public-properties-and-fields.md
  2. 2 0
      en/manual/scripts/serialization.md

+ 1 - 0
en/manual/scripts/public-properties-and-fields.md

@@ -113,6 +113,7 @@ If no values are set for this member, a warning or error will be logged when bui
 #### [ItemNotNullAttribute](xref:Stride.Core.Annotations.ItemNotNullAttribute)
 #### [ItemNotNullAttribute](xref:Stride.Core.Annotations.ItemNotNullAttribute)
 #### [MemberCollectionAttribute](xref:Stride.Core.Annotations.MemberCollectionAttribute)
 #### [MemberCollectionAttribute](xref:Stride.Core.Annotations.MemberCollectionAttribute)
 #### [DataStyleAttribute](xref:Stride.Core.DataStyleAttribute)
 #### [DataStyleAttribute](xref:Stride.Core.DataStyleAttribute)
+#### [DisplayAttribute](xref:Stride.Core.DisplayAttribute)
 
 
 ## See also
 ## See also
 
 

+ 2 - 0
en/manual/scripts/serialization.md

@@ -47,6 +47,8 @@ Can be used to ensure you do not break previously serialized data whenever you h
 [Stride.Core.DataAlias("PreviousNameOfProp")]
 [Stride.Core.DataAlias("PreviousNameOfProp")]
 public string MyRenamedProp { get; set; }
 public string MyRenamedProp { get; set; }
 ```
 ```
+> [!Note]
+> Alias remaps values only while in the editor; this feature is specific to the YAML serialization system. Alias will be ignored during builds and at runtime.
 
 
 ### [DataMemberIgnoreAttribute](xref:Stride.Core.DataMemberIgnoreAttribute)
 ### [DataMemberIgnoreAttribute](xref:Stride.Core.DataMemberIgnoreAttribute)
 This notifies the editor and serializer that the property or field on this [DataContract](#datacontractattribute)'ed
 This notifies the editor and serializer that the property or field on this [DataContract](#datacontractattribute)'ed