ObjectNames.SetNameSmart

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.