C# Класс UnityCommonLibrary.Utility.TransformUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
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