示例#1
0
    protected void LateUpdate()
    {
                #if UNITY_EDITOR
        Cycle.CheckRange();
        Atmosphere.CheckRange();
        Stars.CheckRange();
        Day.CheckRange();
        Night.CheckRange();
        Sun.CheckRange();
        Moon.CheckRange();
        Light.CheckRange();
        Clouds.CheckRange();
        World.CheckRange();
        Fog.CheckRange();
        Ambient.CheckRange();
        Reflection.CheckRange();
                #endif

        SetupQualitySettings();
        SetupSunAndMoon();
        SetupScattering();
        SetupRenderSettings();
        SetupShaderProperties();
    }