- Home /
score script + gameobject apears for 15 secends
hello , i need a script that checks if the fallen gameobject is " banana " or " apple " if banana add 1 score if apple add 2 score
i got 2 spawn objects falling from the sky spawnobject for banana that has banana prefab and another spawnobject for apple that has apple prefab
and i wanna check if the banana reached the trigger it adds 1 score point if the apple adds 2 score points
my next one is i need a script for the fallen objects that hits the ground ( the ones who didnt go to the trigger ) to apear for 15 secends then disappear .
i am still a biggener on that stuff , but i am learning C# atm , please help me ,
thanks
Your answer
Follow this Question
Related Questions
using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers
score system for destroying objects 3 Answers
Destroying gameobject 2 Answers
How To Stop Destroyer From Destroying? 2 Answers
Destroy all GameObjects EXCEPT some... 2 Answers