Hi, How can I check/uncheck the mesh render from an object in the middle of the game, if, for example my bullets are less than 10.
You use the enabled property on it:
renderer.enabled = false;
renderer.enabled = true;
Hi, How can I check/uncheck the mesh render from an object in the middle of the game, if, for example my bullets are less than 10.
You use the enabled property on it:
renderer.enabled = false;
renderer.enabled = true;