How to check if object exist in current screen or not.
I wana spawn a win screen if no win screen currenlty exists in scene
GameObject.Find will return null if it can’t find the object.
It may be better to not spawn the screen, but have it exist already, just have its active flag set to false. Then simply set it to true when you want it to “exist” and false when you need it to “go away”.
1 Like