ドキュメント

Unity Engine

Unity Engine

ApplyTo

Applies this Preset to the target object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

ApplyTo(Object)

Applies this Preset to the target object.
public bool ApplyTo(Object target)

Parameters

target

The target object that will be updated with the Preset serialized values.

Returns

Type

Description

boolReturns true if the target object was successfully updated by the Preset, false otherwise.

ApplyTo(Object, string[])

Applies this Preset to the target object.
public bool ApplyTo(Object target, string[] selectedPropertyPaths)

Parameters

target

The target object that will be updated with the Preset serialized values.

selectedPropertyPaths

Optional list of property names that are applied to the target.

Returns

Type

Description

boolReturns true if the target object was successfully updated by the Preset, false otherwise.