C# Class UnityCommonLibrary.Utility.TransformUtility

Afficher le fichier Open project: thebeardphantom/UnityCommonLibrary

Méthodes publiques

Méthode Description
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

Method Details

DirectionTo() public static méthode

public static DirectionTo ( this t, Transform other ) : Vector3
t this
other UnityEngine.Transform
Résultat Vector3

DirectionTo() public static méthode

public static DirectionTo ( this t, Vector3 other ) : Vector3
t this
other Vector3
Résultat Vector3

FindChildBFS() public static méthode

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
Résultat UnityEngine.Transform

FindChildDFS() public static méthode

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
Résultat UnityEngine.Transform

FindParent() public static méthode

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
Résultat UnityEngine.Transform

GetChildren() public static méthode

public static GetChildren ( this transform ) : UnityEngine.Transform[]
transform this
Résultat UnityEngine.Transform[]

Match() public static méthode

public static Match ( this t, Transform other, TransformElement elements ) : void
t this
other UnityEngine.Transform
elements TransformElement
Résultat void

Reset() public static méthode

public static Reset ( this t ) : void
t this
Résultat void

Reset() public static méthode

public static Reset ( this t, Space space ) : void
t this
space Space
Résultat void

Reset() public static méthode

public static Reset ( this t, TransformElement elements ) : void
t this
elements TransformElement
Résultat void

Reset() public static méthode

public static Reset ( this t, TransformElement elements, Space space ) : void
t this
elements TransformElement
space Space
Résultat void

SetEulerAngles() public static méthode

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
Résultat void

SetLocalScale() public static méthode

public static SetLocalScale ( this transform, float x = null, float y = null, float z = null ) : void
transform this
x float
y float
z float
Résultat void

SetPosition() public static méthode

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
Résultat void