기술 자료

Unity Engine

Unity Engine

SetNameSmart(Object, string)

Sets the name of an Object.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.