ドキュメント

Unity Engine

Unity Engine

CopyFromSerializedPropertyIfDifferent(SerializedProperty)

Copies a changed value from a SerializedProperty to the corresponding serialized property on the serialized object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool CopyFromSerializedPropertyIfDifferent(SerializedProperty prop)

Parameters

Returns

Type

Description

bool

Remarks

The value is only copied to the object if it differs.