Click or drag to resize

Runnable Class

Helper class for running co-routines without having to inherit from MonoBehavior.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          IBM.Watson.DeveloperCloud.UtilitiesRunnable

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Runnable : MonoBehaviour

The Runnable type exposes the following members.

Constructors
  NameDescription
Public methodRunnable
Initializes a new instance of the Runnable class
Top
Properties
  NameDescription
Public propertyStatic memberInstance
Returns the Runnable instance.
Top
Methods
  NameDescription
Public methodStatic memberIsRunning
Check if a routine is still running.
Public methodStatic memberRun
Start a co-routine function.
Public methodStatic memberStop
Stops a active co-routine.
Public methodUpdateRoutines
THis can be called by the user to force all co-routines to get a time slice, this is usually invoked from an EditorApplication.Update callback so we can use runnable in Editor mode.
Top
See Also