I have prefabs with scripts and non prefabs with scripts.
I want to control both when the game is over.
I am storing gameover=true in another script which is in an empty game object.
How would I tell the game is over to prefabs
Just make gameover static. Then other scripts can access it with:
but we can’t access it through prefab scripts.. am I right??
You can access static elements anywhere.
You need to log in to upload images from your computer.
Admin has disabled this function.
You can also sign in by :
Remember to check your spam folder for email!