DarkMatter  4.1.0
AdsNode Class Reference

Inherits HiveDrone.

Public Member Functions

override void Reset ()
 Will return the node to the preprocessed state. More...
 
override void PreInitialize ()
 This is called after all the Awake functions in Unity has been called but before any Nodes have started to be processed. More...
 
override IEnumerator ProcessNode (bool isRetrying)
 Handles the initialization of the Manifest for DarkMatter. More...
 
- Public Member Functions inherited from DependencyNode
virtual void Update ()
 Called every frame of the game. More...
 
virtual void LateUpdate ()
 Called every frame of the game after all Update calls. More...
 
virtual void OnApplicationPause (bool pauseStates)
 Called when the game is paused or unpaused or when the game is backgrounded. More...
 
virtual void OnApplicationQuit ()
 This is called whenever the application is about to be closed. More...
 
Coroutine StartCoroutine (IEnumerator routine)
 Start a coroutine with this object. Since this class is not a MonoBehaviour it forwards all the routines to the Dependency runner. More...
 

Properties

override float processProgress [get]
 Gets the current download progress of the manifest. More...
 
override System.Type [] typeDependencies [get]
 
- Properties inherited from HiveDrone
abstract float processProgress [get]
 Gets the current progress of the process for this node. This is used so the client is able to get the total progress of all hive drones to show on a loading screen. This value should be between 0 - 1. More...
 
virtual float processWeight [get]
 Override if you want to enhance process progress based on process works More...
 
- Properties inherited from DependencyNode
bool isComplete [get, set]
 Has the nodes process been completed? More...
 
bool hasStarted [get, set]
 Has the nodes process started? More...
 
bool dependenciesComplete [get]
 Loops over all the node's dependencies and checks to see if they have been completed. If all have returns true else returns false. More...
 
virtual List< DependencyNodedependenciesNodes [get, set]
 Gets or Sets this nodes dependencies. More...
 
virtual Type [] typeDependencies [get]
 Gets the list of types that this class depends on if they exists. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DependencyNode
virtual void OnEnable ()
 Called by the Scriptable Object when it has been initialized. More...
 

Member Function Documentation

◆ PreInitialize()

override void PreInitialize ( )
virtual

This is called after all the Awake functions in Unity has been called but before any Nodes have started to be processed.

Reimplemented from DependencyNode.

◆ ProcessNode()

override IEnumerator ProcessNode ( bool  isRetrying)
virtual

Handles the initialization of the Manifest for DarkMatter.

Implements DependencyNode.

◆ Reset()

override void Reset ( )
virtual

Will return the node to the preprocessed state.

Reimplemented from DependencyNode.

Property Documentation

◆ processProgress

override float processProgress
get

Gets the current download progress of the manifest.


The documentation for this class was generated from the following file: