文档

Unity Engine

Unity Engine

SetNameSmart(Object, string)

Sets the name of an Object.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void SetNameSmart(Object obj, string name)

Parameters

Remarks

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