PlayMaker Help & Tips > PlayMaker Help
Postprocessing-values via "set property"?
Ubik3D:
Hi Hutong Forums!
Have you tried Unity's new post processing stack? It's pretty rad, and you should all add it on your cameras to make your games look great :D
https://github.com/Unity-Technologies/PostProcessing/wiki
In order to use it you need a profile that you can access with the "set property" action.
However, the only properties I can access through "set property" is wether or not the different post-processing effects are enabled or not, via a bool "enabled".
Is there a way to expose all the different variables inside the effects to playmaker? How?
Ubik3D:
Sorry I don't understand your answer.
The bools are what I can currently access through "Set Property", but it simply don't find the other variables I would like to expose. E.g. FoV Distance.
dudebxl:
Sorry.. I mean in the scripts not action change the var from private to public and it should help.. It depends on the script..
Ubik3D:
I tried that but couldn't find the variables I wanted to expose.
It seems to me that this is some kind of new programming style that references a "profile"-asset instead of just having regular scripts, and this "profile-script" itself doesn't seem to hold the variables? I'm confused.
Someone who wants to try the new Post-processing stack and have a look?
dudebxl:
Ah ok.. i see.. just had a look.. i think you need to make custom actions as for example the script AntialiasingModel.cs has your variables that could be changed by a custom action. But i have not tried so i am assuming.
Navigation
[0] Message Index
[#] Next page
Go to full version