찬양찬양
(컴퓨터로 하다가 발견했는데 휴대폰에선 잘 안보일 듯 하네요.. 여기서도 이미지가 흐려서 잘 안보이는데)
public static string GetHierarchy(GameObject obj)
{
string path = obj.name;
while (obj.transform.parent != null)
{
obj=obj.transform.parent.gameObject;
path = obj.name+"/"+path;
찬양찬양
(컴퓨터로 하다가 발견했는데 휴대폰에선 잘 안보일 듯 하네요.. 여기서도 이미지가 흐려서 잘 안보이는데)
public static string GetHierarchy(GameObject obj)
{
string path = obj.name;
while (obj.transform.parent != null)
{
obj=obj.transform.parent.gameObject;
path = obj.name+"/"+path;
댓글 7개 ▼