docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SetFrameDependent

    SetFrameDependent(bool)

    Sets the interaction state that are based on whether they occurred "this frame".

    Declaration
    public void SetFrameDependent(bool wasActive)
    Parameters
    Type Name Description
    bool wasActive

    Whether the previous state is active (in other words, pressed).

    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)