Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

Transform.localScale

Switch to Manual
public var localScale: Vector3;

Description

The scale of the transform relative to the parent.

	 // Widen the object by 0.1
	transform.localScale += Vector3(0.1,0,0);