SerializedProperty
- animationCurveValue
- boolValue
- boundsValue
- colorValue
- Copy
- CountRemaining
- DeleteCommand
- depth
- DuplicateCommand
- editable
- enumNames
- enumValueIndex
- EqualContents
- floatValue
- hasChildren
- hasVisibleChildren
- intValue
- isExpanded
- isInstantiatedPrefab
- name
- NextVisible
- Next
- objectReferenceValue
- prefabOverride
- propertyPath
- propertyType
- rectValue
- Reset
- serializedObject
- stringValue
- tooltip
- type
- vector2Value
- vector3Value
SerializedProperty.Copy 复制
function Copy () : SerializedProperty
Description描述
Duplicates the SerializedProperty.
复制SerializedProperty。
This lets you keep a reference to a specific property. Note that if an array size before to the copied property is modified this and this property is then accessed, then this might lead to memory corruption.
这让你保留一个引用到特定的属性。注意,如果复制属性之前修改这个数组大小并访问,那么,这可能会导致内存损坏。
最后修改:2011年7月11日 Monday 13:17