ドキュメント

Unity Engine

Unity Engine

UpdateProperties(Object)

Updates this Preset's properties from the given Object's values. The given Object's type must match this Preset's type.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool UpdateProperties(Object source)

Parameters

source

Used by the Preset to get its new serialized values.

Returns

Type

Description

boolReturns true if the Preset was updated, false otherwise.