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
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023