Class Controller | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Controller

    Inheritance
    System.Object
    Controller
    ARController
    FirstPersonController
    FreeCamController
    Namespace: UnityEngine.Reflect.Controller
    Syntax
    public abstract class Controller : MonoBehaviour

    Methods

    ComputeNewEulerAngles(Single, Single, Vector3)

    Declaration
    protected static Vector3 ComputeNewEulerAngles(float x, float y, Vector3 euler)
    Parameters
    Type Name Description
    System.Single x
    System.Single y
    Vector3 euler
    Returns
    Type Description
    Vector3

    DestroyController()

    Declaration
    protected virtual void DestroyController()

    NormalizeEulerAngles(Vector3)

    Declaration
    protected static Vector3 NormalizeEulerAngles(Vector3 euler)
    Parameters
    Type Name Description
    Vector3 euler
    Returns
    Type Description
    Vector3

    OnDisable()

    Declaration
    protected void OnDisable()

    OnEnable()

    Declaration
    protected void OnEnable()

    StartController(GestureListener)

    Declaration
    protected virtual void StartController(GestureListener listener)
    Parameters
    Type Name Description
    GestureListener listener

    Update()

    Declaration
    protected void Update()

    UpdateController()

    Declaration
    protected virtual void UpdateController()
    Back to top
    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