Delegate PrefabFactoryAsync
A delegate for prefab construction used by Nautilus to create game objects dynamically.
public delegate IEnumerator PrefabFactoryAsync(TaskResult<GameObject> gameObject)
Parameters
gameObjectTaskResult<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
Methods
BeginInvoke(TaskResult<GameObject>, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(TaskResult<GameObject> gameObject, AsyncCallback callback, object @object)
Parameters
gameObjectTaskResult<GameObject>callbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual IEnumerator EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(TaskResult<GameObject>)
public virtual IEnumerator Invoke(TaskResult<GameObject> gameObject)
Parameters
gameObjectTaskResult<GameObject>