TriLib
Search Results for

    Show / Hide Table of Contents

    Struct TransformBackup

    Represents a structure to store a Transform position, rotation, and scale temporarily.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: TriLibCore.General
    Assembly: TriLibCore.dll
    Syntax
    public struct TransformBackup

    Constructors

    TransformBackup(Transform)

    Represents a structure to store a Transform position, rotation, and scale temporarily.

    Declaration
    public TransformBackup(Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The Transform to backup the data from.

    Methods

    Restore(Transform)

    Restores the Transform position, rotation and scale to the original value.

    Declaration
    public void Restore(Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The Transform to restore the data.

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top Generated by DocFX