Hi guys,
I want to create a Clicker Game but I don’t really how to put a monster in the center of the screen. I just want to tap him and deal him damage based on my items. How can I do?
Thank you for reading
Use instantiate (Instantiate - Unity Learn) to spawn the monster. This is how I would damage him by tapping.
public int itemDMG; public int MonsterHealth; if(Input.GetMouseButtonDown(0)) MonsterHealth - itemDMG;