Table of Contents

Delegate PrefabFactoryAsync

Namespace
Nautilus.Assets
Assembly
Nautilus.dll
A delegate for prefab construction used by Nautilus to create game objects dynamically.
public delegate IEnumerator PrefabFactoryAsync(TaskResult<GameObject> gameObject)

Parameters

gameObject TaskResult<GameObject>
A delegate for prefab construction used by Nautilus to create game objects dynamically.

Returns

IEnumerator
A delegate for prefab construction used by Nautilus to create game objects dynamically.
Extension Methods

Constructors

PrefabFactoryAsync(object, nint)

public PrefabFactoryAsync(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(TaskResult<GameObject>, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(TaskResult<GameObject> gameObject, AsyncCallback callback, object @object)

Parameters

gameObject TaskResult<GameObject>
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual IEnumerator EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

IEnumerator

Invoke(TaskResult<GameObject>)

public virtual IEnumerator Invoke(TaskResult<GameObject> gameObject)

Parameters

gameObject TaskResult<GameObject>

Returns

IEnumerator