Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Set

Sets the property value.
Read time 1 minuteLast updated 10 days ago

Definition

Set(T, AssignType)

Sets the property value.
public void Set(T value, AssignType assignType)

Parameters

value

T
Property value.

assignType

Property assign type.

Remarks

Unity throws an exception if one of the parent elements was removed from the file or has a raw value set.

Set(T)

Sets the property value.
public virtual void Set(T value)

Parameters

value

T
Property value.

Remarks

Unity throws an exception if one of the parent elements was removed from the file or has a raw value set.