Quantcast
Viewing all articles
Browse latest Browse all 713

Setting LiftGammaGain Values by script NOT working (2019.3.b6)

I want to set PostProcessing Values by script. void ConfigManager_FetchCompleted(Unity.RemoteConfig.ConfigResponse obj) { LiftGammaGain lgg = VolumeManager.instance.stack.GetComponent(); var lift = lgg.lift.value; lift.w = Unity.RemoteConfig.ConfigManager.appConfig.GetInt("PostPro-Lift", 0) / 100f; lgg.lift.value = lift; } The value gets set. But it is not applied! I tried lgg.lift.SetValue() as well, but that does not compile saying, the lift value does not match.

Viewing all articles
Browse latest Browse all 713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>