docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResolveLookAt

    ResolveLookAt(Transform)

    Returns this vcam's LookAt target, or if that is null, will return the parent vcam's LookAt target.

    Declaration
    public Transform ResolveLookAt(Transform localLookAt)
    Parameters
    Type Name Description
    Transform localLookAt

    This vcam's LookAt value.

    Returns
    Type Description
    Transform

    The same value, or the parent's if null and a parent exists.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)