GetObjectPath(Object)
Get the path of a Unity Object. If it is a GameObject or a Component it is the. Else it is the asset name.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static string GetObjectPath(Object obj)
Parameters
Object to obtain a path from.
Returns
Type | Description |
|---|---|
| string | Returns the path of an object. |