Skip to content

WaitForSecondsRealTime

Tommo J. Phillips edited this page Oct 22, 2023 · 3 revisions

WaitForSecondsRealTime

Namespace: TommoJProductions.ModApi.YieldInstructions

Waits for seconds in real time. USAGE:

yield return StartCoroutine(new )
public class WaitForSecondsRealTime : System.Collections.IEnumerator

Inheritance ObjectWaitForSecondsRealTime
Implements IEnumerator

Fields

seconds

Represents the number of seconds to wait in realtime for.

public float seconds;

Properties

Current

Reps the current

public virtual object Current { get; }

Property Value

Object

Constructors

WaitForSecondsRealTime(Single)

inits new instance of wait for seconds real time.

public WaitForSecondsRealTime(float seconds)

Parameters

seconds Single
The number of seconds to wait in realtime for.

Methods

MoveNext()

Moves next

public virtual bool MoveNext()

Returns

Boolean

Reset()

Resets the wait.

public virtual void Reset()

Clone this wiki locally