기술 자료

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분최근 업데이트: 한 달 전

Definition

public static string GetObjectPath(Object obj)

Parameters

Object to obtain a path from.

Returns

Type

Description

stringReturns the path of an object.