How to make a random object generator that responds to simple touch?
Due to to pandemic going on, I decided to start using Unity (totally as a newbie, all I know is just some simple public, private, ifs, int, voids, modeling and components and some other minor stuff), which is hard at the start especially f you start it as a hobby. Anyways, back to the main point. I'm creating a game (by watching unity tutorials and get used to it and also take some help from others). I want to start it simple by creating a starter game (for android and later PC) in which a person taps/clicks and a block of on of my assets (shown in the picture) drops and later disappears and then adding a shop and all that stuff for later, but for now I need you guys to help me out and explain to me how to make that possible (for android and if possible for PC as well). I looked up a few videos but nothing seem to work.BTW, was inspired with this idea by the Android Easter egg. Also, can I know what's the appropriate code? Thank you for taking your time to read this :) I will update this, if there is an option to do this. Just to make it clearer, I need the help for running the app for Android, but if it is possible, help for PC would be awesome as well.
Your answer
![](https://koobas.hobune.stream/wayback/20220612233857im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
HELP! How to make Update function start after delay? C# 2 Answers
How to make a thrown object land on a certain point e.g a thrown spear landing on its tip 0 Answers
use MouseOnClick two times? 1 Answer
Instantiated bullet not pointing towards targeting or moving 2D 1 Answer
OnTriggerEnter2D problem 1 Answer