Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

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

UI.LayoutGroup.SetProperty

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

Parameters

currentValue A reference to the member value.
newValue The new value.

Description

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