Search Results for

    Show / Hide Table of Contents

    Class TransformExtensions

    Inheritance
    object
    TransformExtensions
    Namespace: GGL.Extensions
    Assembly: GGL.dll
    Syntax
    public static class TransformExtensions

    Methods

    | Edit this page View Source

    GetChildren(Transform)

    Return the enabled children of the transform.

    Declaration
    public static IEnumerable<Transform> GetChildren(this Transform transform)
    Parameters
    Type Name Description
    Transform transform
    Returns
    Type Description
    IEnumerable<Transform>
    | Edit this page View Source

    GetSiblings(Transform, bool)

    Return the enabled sibling of the transform from its parent.

    Declaration
    public static IEnumerable<Transform> GetSiblings(this Transform transform, bool excludeSelf = true)
    Parameters
    Type Name Description
    Transform transform
    bool excludeSelf
    Returns
    Type Description
    IEnumerable<Transform>
    | Edit this page View Source

    Reset(Transform)

    Reset a transform's position and rotation.

    Declaration
    public static void Reset(this Transform transform)
    Parameters
    Type Name Description
    Transform transform
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX