코드 정리 및 DataValidator 추가, HttpPipeLine 쓰레드에서 실행되도록 수정
This commit is contained in:
@@ -174,5 +174,15 @@ namespace UVC.Extension
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 지정된 <see cref="Transform"/>의 로컬 위치를 월드 공간 좌표로 변환합니다.
|
||||
/// </summary>
|
||||
/// <param name="t">로컬 위치를 변환할 <see cref="Transform"/>입니다.</param>
|
||||
/// <returns> <paramref name="t"/> 로컬 위치의 월드 공간 좌표를 나타내는 <see cref="Vector3"/>입니다.</returns>
|
||||
public static Vector3 ToWorldPosition(this Transform t)
|
||||
{
|
||||
return t.TransformPoint(t.localPosition);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user