ドキュメント

Unity Engine

Unity Engine

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

public static string GetObjectPath(Object obj)

Parameters

Object to obtain a path from.

Returns

Type

Description

stringReturns the path of an object.