Context I am trying to make when an object collides with another it makes appear slowly a white screen, so this is the code
![alt text][1]
this is the call from another script when the objects collides with each other
![alt text][2]
this code is attach to an object that is a white image, is not a canvas, is an object with a white sprite
so in the public void start() I put the image transparent, after that we have a curtain called FadeIn that makes the image appear slowly.
in the first code that I put it makes a call to public void startFading() everything is good by the moment because the void recives the call and debug the word "recibiendo", but when all this work together it appear a error and the withe image doesnt appear
this is the error Coroutine couldn't be started because the the game object 'blanco' is inactive!
I dont know why, because the object is active and the sprite renderer doesnt destroy the object, so if you can help me I will be very gratefull
if you need more information of the code ask me
and sorry for my bad english if I make any mistake.
[1]: /storage/temp/184517-captura-de-pantalla-2021-08-08-101509.png
[2]: /storage/temp/184519-captura-de-pantalla-2021-08-08-101622.png
↧