Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 12 days ago

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.