{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class ExitPlayMode | Test Framework | 2.0.1-exp.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ExitPlayMode

    Implements IEditModeTestYieldInstruction. A new instance of the class is a yield instruction to exit Play Mode.

    Inheritance
    object
    ExitPlayMode
    Implements
    IEditModeTestYieldInstruction
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.TestTools
    Assembly: solution.dll
    Syntax
    public class ExitPlayMode : IEditModeTestYieldInstruction

    Constructors

    Name Description
    ExitPlayMode()

    Sets ExpectDomainReload and ExpectedPlaymodeState to false.

    Properties

    Name Description
    ExpectDomainReload

    Gets the value of ExpectDomainReload

    ExpectedPlaymodeState

    Gets the value of ExpectedPlaymodeState

    Methods

    Name Description
    Perform()

    Performs the multi-step instruction of exiting PlayMode.

    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)