Question by
darthconner2000 · Jun 10, 2019 at 11:45 PM ·
meshrendering
How to bind the mesh renderer to Keypad1?
Hello fellow coders! I am making a cannon with a continuous laser whose mesh renderer is currently turned off. I am attempting to create a code that makes it so pressing the number 1 on the keypad turns on the mesh renderer and releasing the key turns it off again. Thus, the cannon is fired. Here is my work thus far. It seems to do nothing beneficial or detrimental. It just does nothing. What am I doing wrong?
screen-shot-2019-06-10-at-44236-pm.png
(110.7 kB)
Comment
Your answer
Follow this Question
Related Questions
AA + Vertex colors = mesh face cracks/seams 1 Answer
Vertex colors not working in shader graph. 0 Answers
mesh glitch on build 1 Answer
Meshes appears very dark than expectation 0 Answers
How to fix the "torn" model bug in Skinned Mesh Render? 0 Answers