Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ObjectNames.SetNameSmart

Declaration

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

Description

Sets the name of an Object.

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