docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnBehaviourPause

    OnBehaviourPause(Playable, FrameData)

    This method is invoked when one of the following situations occurs: <br><br> The effective play state during traversal is changed to Playables.PlayState.Paused. This state is indicated by FrameData.effectivePlayState.<br><br> The PlayableGraph is stopped while the playable play state is Playing. This state is indicated by PlayableGraph.IsPlaying returning true.

    Declaration
    public override void OnBehaviourPause(Playable playable, FrameData info)
    Parameters
    Type Name Description
    Playable playable

    The Playable that owns the current PlayableBehaviour.

    FrameData info

    A FrameData structure that contains information about the current frame context.

    Overrides
    PlayableBehaviour.OnBehaviourPause(Playable, FrameData)
    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)