C# 클래스 UnityCommonLibrary.Utility.TransformUtility

파일 보기 프로젝트 열기: thebeardphantom/UnityCommonLibrary

공개 메소드들

메소드 설명
DirectionTo ( this t, Transform other ) : Vector3
DirectionTo ( this t, Vector3 other ) : Vector3
FindChildBFS ( this t, string search, System.StringComparison comparison = StringComparison.CurrentCulture, bool tag = false ) : Transform
FindChildDFS ( this t, string search, System.StringComparison comparison = StringComparison.CurrentCulture, bool tag = false ) : Transform
FindParent ( this t, string search, System.StringComparison comparison = StringComparison.CurrentCulture, bool tag = false ) : Transform
GetChildren ( this transform ) : UnityEngine.Transform[]
Match ( this t, Transform other, TransformElement elements ) : void
Reset ( this t ) : void
Reset ( this t, Space space ) : void
Reset ( this t, TransformElement elements ) : void
Reset ( this t, TransformElement elements, Space space ) : void
SetEulerAngles ( this transform, Space space, float x = null, float y = null, float z = null ) : void
SetLocalScale ( this transform, float x = null, float y = null, float z = null ) : void
SetPosition ( this transform, Space space, float x = null, float y = null, float z = null ) : void

메소드 상세

DirectionTo() 공개 정적인 메소드

public static DirectionTo ( this t, Transform other ) : Vector3
t this
other UnityEngine.Transform
리턴 Vector3

DirectionTo() 공개 정적인 메소드

public static DirectionTo ( this t, Vector3 other ) : Vector3
t this
other Vector3
리턴 Vector3

FindChildBFS() 공개 정적인 메소드

public static FindChildBFS ( this t, string search, System.StringComparison comparison = StringComparison.CurrentCulture, bool tag = false ) : Transform
t this
search string
comparison System.StringComparison
tag bool
리턴 UnityEngine.Transform

FindChildDFS() 공개 정적인 메소드

public static FindChildDFS ( this t, string search, System.StringComparison comparison = StringComparison.CurrentCulture, bool tag = false ) : Transform
t this
search string
comparison System.StringComparison
tag bool
리턴 UnityEngine.Transform

FindParent() 공개 정적인 메소드

public static FindParent ( this t, string search, System.StringComparison comparison = StringComparison.CurrentCulture, bool tag = false ) : Transform
t this
search string
comparison System.StringComparison
tag bool
리턴 UnityEngine.Transform

GetChildren() 공개 정적인 메소드

public static GetChildren ( this transform ) : UnityEngine.Transform[]
transform this
리턴 UnityEngine.Transform[]

Match() 공개 정적인 메소드

public static Match ( this t, Transform other, TransformElement elements ) : void
t this
other UnityEngine.Transform
elements TransformElement
리턴 void

Reset() 공개 정적인 메소드

public static Reset ( this t ) : void
t this
리턴 void

Reset() 공개 정적인 메소드

public static Reset ( this t, Space space ) : void
t this
space Space
리턴 void

Reset() 공개 정적인 메소드

public static Reset ( this t, TransformElement elements ) : void
t this
elements TransformElement
리턴 void

Reset() 공개 정적인 메소드

public static Reset ( this t, TransformElement elements, Space space ) : void
t this
elements TransformElement
space Space
리턴 void

SetEulerAngles() 공개 정적인 메소드

public static SetEulerAngles ( this transform, Space space, float x = null, float y = null, float z = null ) : void
transform this
space Space
x float
y float
z float
리턴 void

SetLocalScale() 공개 정적인 메소드

public static SetLocalScale ( this transform, float x = null, float y = null, float z = null ) : void
transform this
x float
y float
z float
리턴 void

SetPosition() 공개 정적인 메소드

public static SetPosition ( this transform, Space space, float x = null, float y = null, float z = null ) : void
transform this
space Space
x float
y float
z float
리턴 void