Click or drag to resize
GraphicsManagerCreateSkybox Method
Create and return a GameObject with skybox attached to it.

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public GameObject CreateSkybox(
	string texture = null,
	GameObject parent = null
)

Parameters

texture (Optional)
Type: SystemString
Skybox texture (leave null for default texture).
parent (Optional)
Type: GeonBit.ECSGameObject
Optional GameObject to attach add skybox to (as a child). If null, will add to active scene's root.

Return Value

Type: GameObject
GameObject containing skybox.
See Also