Show / Hide Table of Contents

Class DuneUpdater

Unitliy MonoBehaviour to provide hooks for other DuneNet elements

Inheritance
System.Object
DuneUpdater
Namespace: DuneNet.Shared
Assembly: DuneNet.Shared.dll
Syntax
public class DuneUpdater : MonoBehaviour

Fields

IsQuitting

Whether the application is quitting.

Declaration
public static bool IsQuitting
Field Value
Type Description
System.Boolean

Properties

Instance

The Singleton instance.

Declaration
public static DuneUpdater Instance { get; }
Property Value
Type Description
DuneUpdater

Methods

WaitForSecondsAction(Single, Action)

Invokes an Action after a provided amount of seconds.

Declaration
public void WaitForSecondsAction(float seconds, Action callback)
Parameters
Type Name Description
System.Single seconds

The amount of seconds to execute the action after.

System.Action callback

The action to execute after the provided time.

Events

OnQuit

Event called when the application quits.

Declaration
public event Action OnQuit
Event Type
Type Description
System.Action

OnStart

Event called when DuneNet initializes.

Declaration
public event Action OnStart
Event Type
Type Description
System.Action

OnUpdate

Event called when DuneNet updates.

Declaration
public event Action OnUpdate
Event Type
Type Description
System.Action
Back to top Copyright © 2018 Dune Interactive.