Version: 2022.3
言語: 日本語
public static string GetObjectPath (Object obj);

パラメーター

obj Object to obtain a path from.

戻り値

string Returns the path of an object.

説明

Get the path of a Unity Object. If it is a GameObject or a Component it is the <see cref="SearchUtils.GetTransformPath(Transform)"/>. Else it is the asset name.