文档

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.