I want to use the Burn Dissolve shader in order to make a character dissapear, so I want to increment the Dissolve Amount value in runtime.
However the only way I could find to do it is connected to the time since level load, and if I use the time since level load an object will simply vanish automatically if I apply the shader to it a long time after the scene is loaded. Or if I want to instantiate an object mid game using the dissolve burn shader it will already be created transparent.
Here's a snippet of what I am doing right now - https://imgur.com/a/xY6hY
So I'd like to know how can I implement a sort of counter based on time (*not* time since level load) which I can use to apply this effect.
Hope I made myself clear.