SetNameSmart(Object, string)
Sets the name of an Object.
Read time 1 minuteLast updated 5 days ago
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.