docs.unity3d.com
    Show / Hide Table of Contents

    Class DOTweenModuleUtils.Physics

    Inheritance
    Object
    DOTweenModuleUtils.Physics
    Namespace: DG.Tweening
    Syntax
    public static class Physics

    Methods

    CreateDOTweenPathTween(MonoBehaviour, Boolean, Boolean, Path, Single, PathMode)

    Declaration
    public static TweenerCore<Vector3, Path, PathOptions> CreateDOTweenPathTween(MonoBehaviour target, bool tweenRigidbody, bool isLocal, Path path, float duration, PathMode pathMode)
    Parameters
    Type Name Description
    MonoBehaviour target
    Boolean tweenRigidbody
    Boolean isLocal
    Path path
    Single duration
    PathMode pathMode
    Returns
    Type Description
    TweenerCore<Vector3, Path, PathOptions>

    HasRigidbody(Component)

    Declaration
    public static bool HasRigidbody(Component target)
    Parameters
    Type Name Description
    Component target
    Returns
    Type Description
    Boolean

    HasRigidbody2D(Component)

    Declaration
    public static bool HasRigidbody2D(Component target)
    Parameters
    Type Name Description
    Component target
    Returns
    Type Description
    Boolean

    SetOrientationOnPath(PathOptions, Tween, Quaternion, Transform)

    Declaration
    public static void SetOrientationOnPath(PathOptions options, Tween t, Quaternion newRot, Transform trans)
    Parameters
    Type Name Description
    PathOptions options
    Tween t
    Quaternion newRot
    Transform trans
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023