In my jenga game im setting up what happens when a block hits the floor, i want to set it so it basically says:
if 1 block hits the floor, thats fine, destroy the block
if more then 1 block hits the floor then do something else
how would i go about that?
here is my current code for that part
How to check for number of colliders?
if 1 block hits the floor, thats fine, destroy the block
if more then 1 block hits the floor then do something else
how would i go about that?
here is my current code for that part
Code (csharp):
- triggerhit = true;
- }...