docs.unity3d.com
    Show / Hide Table of Contents

    Class TimeoutHelper

    Can be used independently or assigned to WaitForConditionOrTimeOut(Func<Boolean>, TimeoutHelper) in the event the default timeout period needs to be adjusted

    Inheritance
    Object
    TimeoutHelper
    Namespace: Unity.Netcode.TestHelpers.Runtime
    Syntax
    public class TimeoutHelper

    Constructors

    TimeoutHelper(Single)

    Declaration
    public TimeoutHelper(float timeOutPeriod = 2F)
    Parameters
    Type Name Description
    Single timeOutPeriod

    Properties

    TimedOut

    Declaration
    public bool TimedOut { get; }
    Property Value
    Type Description
    Boolean

    Methods

    HasTimedOut()

    Declaration
    public bool HasTimedOut()
    Returns
    Type Description
    Boolean

    Start()

    Declaration
    public void Start()

    Stop()

    Declaration
    public void Stop()
    Back to top
    Terms of use
    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