Ejemplo n.º 1
0
    private void SetSkybox()
    {
        Debug.Log("Setting skybox for instance " + GetInstanceID());
        WorldData world = levelSelectManager.GetCurrentWorld();

        if (world != null)
        {
            RenderSettings.skybox = world.skybox;
        }
    }