ok, i'm starting having a direction to do my stuff, but it seems that i'm locked because of C# language version...
Unity docs give a code, but you want to use it, it' doesn't works..
if someone can help with this, it would be great !
i want to get activated effect from postprocess:
so if it is enabled it will simply return bool to be true or false, so this part of code seems to be the way to get it but Unity doesn't like using outSetting like this ...
UsedProfile.TryGetSettings<AmbientOcclusion>(out AmbientOcclusion AO);
the error message is :
Assets/PlayMaker/Actions/Post Processing/PostProcessingStackV2Manager.cs(45,71): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
how can i manage it correctly ?