Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

Bounds.Expand

public void Expand(float amount);

Parameters

Description

Expand the bounds by increasing its size by amount along each side.


public void Expand(Vector3 amount);

Parameters

Description

Expand the bounds by increasing its size by amount along each side.