C# 클래스 UnityContrib.UnityEngine.TransformEx

Provides helper methods for working with the T:UnityEngine.Transform class.
파일 보기 프로젝트 열기: UnityContrib/framework

공개 메소드들

메소드 설명
DecendantsBreadthFirst ( this transform ) : IEnumerable

Returns all the decendant T:UnityEngine.Transform to the specified transform using breadth first traversal.

DecendantsDepthFirst ( this transform ) : IEnumerable

Returns all the decendant T:UnityEngine.Transform to the specified transform using depth first traversal.

DestroyAllChildren ( this parent ) : void

Destroys all the children of the specified parent T:UnityEngine.Transform.

DestroyImmediateAllChildren ( this parent ) : void

Destroys all the children of the specified parent T:UnityEngine.Transform.

메소드 상세

DecendantsBreadthFirst() 공개 정적인 메소드

Returns all the decendant T:UnityEngine.Transform to the specified transform using breadth first traversal.
public static DecendantsBreadthFirst ( this transform ) : IEnumerable
transform this /// The parent to start at. ///
리턴 IEnumerable

DecendantsDepthFirst() 공개 정적인 메소드

Returns all the decendant T:UnityEngine.Transform to the specified transform using depth first traversal.
public static DecendantsDepthFirst ( this transform ) : IEnumerable
transform this /// The parent to start at. ///
리턴 IEnumerable

DestroyAllChildren() 공개 정적인 메소드

Destroys all the children of the specified parent T:UnityEngine.Transform.
public static DestroyAllChildren ( this parent ) : void
parent this /// The parent who's children to destroy. ///
리턴 void

DestroyImmediateAllChildren() 공개 정적인 메소드

Destroys all the children of the specified parent T:UnityEngine.Transform.
public static DestroyImmediateAllChildren ( this parent ) : void
parent this /// The parent who's children to destroy. ///
리턴 void