Show / Hide Table of Contents

Class UnboundCoroutine

Used for starting/stopping coroutines that aren't bound to a specific GameObject

Inheritance
object
UnboundCoroutine
E_UnboundCoroutine_I.EditorCoroutine
Namespace: WeaverCore.Utilities
Assembly: WeaverCore.dll
Syntax
public class UnboundCoroutine

Constructors

| Edit this page View Source

UnboundCoroutine()

Declaration
protected UnboundCoroutine()

Properties

| Edit this page View Source

DT

Used for accessing Time.deltaTime. This also works when not in play mode

Declaration
public static float DT { get; }
Property Value
Type Description
float

Methods

| Edit this page View Source

Start(IEnumerator)

Starts a coroutine that isn't bound to a specific GameObject

Declaration
public static UnboundCoroutine Start(IEnumerator routine)
Parameters
Type Name Description
IEnumerator routine

The coroutine function to start

Returns
Type Description
UnboundCoroutine

Returns an unbound coroutine object. Use Stop(UnboundCoroutine) to stop the coroutine

| Edit this page View Source

Stop()

Stops this unbound coroutine

Declaration
public void Stop()
| Edit this page View Source

Stop(UnboundCoroutine)

Stops an unbound coroutine

Declaration
public static void Stop(UnboundCoroutine coroutine)
Parameters
Type Name Description
UnboundCoroutine coroutine

The coroutine to stop

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾