Constructor StageRuntimeInterface
StageRuntimeInterface(Func<bool, GameObject>, Func<Camera>, Func<Light>)
Construct a StageRuntimeInterface
Declaration
public StageRuntimeInterface(Func<bool, GameObject> AddGameObject, Func<Camera> GetCamera, Func<Light> GetSunLight)
Parameters
Type | Name | Description |
---|---|---|
Func<bool, GameObject> | AddGameObject | Callback to call when adding a GameObject |
Func<Camera> | GetCamera | Callback to call for getting the Camera |
Func<Light> | GetSunLight | Callback to call for getting the sun Light |