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.

ObjectNames.SetNameSmart

public static function SetNameSmart(obj: Object, name: string): void;

Description

Sets the name of an Object.

If the object is an Asset, renames the asset and file names to match the object.