Method InstantiateScene
InstantiateScene(int, ICodeLogger)
Creates an instance of the scene specified by the scene index.
Declaration
public override Task<bool> InstantiateScene(int sceneIndex, ICodeLogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
int | sceneIndex | Index of the scene to be instantiated |
ICodeLogger | logger | Used for message reporting |
Returns
Type | Description |
---|---|
Task<bool> | True if instantiation was successful. |