I've got these options working but when the player changes scenes, all the post processing resets. How do I make the settings stay between scene changes?
So far I have tried changing the "Link to" under the global variable with no luck.
I just had this bug happen while messing around with that post processing script I had been working on. Unfortunately it went through all the actions in a particular scene and deleted them. "An empty action was found and was deleted" x20
…
Alright, I'm able to add the UpdateValue function to the action but am getting an error when trying the menu in game.
"NullReferenceException: Object reference not set to an instance of an object
PostProcessingController.UpdateValue () (at Ass…
Thank you, I've given that a try but I'm not seeing the "UpdateValue" option under Object: Call Event action.
Sometimes get an error "The script needs to derive from mono behavior".
I made a video following your suggestion, I'm …
@OddHouseGames I was trying to achieve this same thing with my inventory. Fortunately I'm not using any sounds for inventory items (at this time) so it works perfectly. Thank you.
If I do ever want to use sounds though, did you ever find a work aro…
(Image)
So in this first example, the NPC is blocking the path. This may be intentional for a quest. The Polygon Collider 2D is great because it perfectly matches the cutout PNG of the NPC sprite art.
But in this example, the NPC is still block…
@Temmy Yes, but good question. I swapped the action with starting a new game and it works fine. I'll try deleting the action and script then starting over in case I messed something up...
Edit: So deleting everything and starting over worked fine. T…
Sorry to bother again, but have attached this script to a button on my title screen. It shows correctly in the action list, but when you press the button in game, absolutely nothing happens. What did I do wrong here?
(Image)
I believe I have solved the problem. You have to make sure any 3rd party shaders are listed under Project settings > Graphics > Always included shaders
As described here: https://stackoverflow.com/questions/55660837/unity-post-processing-postp…
Also the next section that says "add a Scene: Switch Action". Are we adding it to the "Begin new game" action list asset? If so, why does the image show it as action "0" when we already added the Menu: Change state acti…
I was never able to figure this out! :D
What I did instead, in case anyone is trying to do the same thing...
For panning the camera, it's easier (IMO) to add the "moveable" component to your camera. Then use the "Object: Transform&q…