Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LayoutGroup.SetProperty

Switch to Manual
protected function SetProperty(currentValue: T, newValue: T): void;

Parameters

currentValueA reference to the member value.
newValueThe new value.

Description

Helper method used to set a given property if it has changed.