The lever in unity 2D C#?

Guys I have a question, somebody knows how to make a lever?
Well, that would be when pressing the lever opened the gate for example.
Who knows please help!
Thanks in advance
April 19th 20 at 12:02
1 answer
April 19th 20 at 12:04
A common logic to interact with the world is rakasta that when a tip, it would be possible to manage the object. Then when recast on the object and when the button is clicked, the script is called at the lever. In this script, the lever goes down and lifts the door up. Nothing complicated, only it is necessary to think

Find more questions by tags Unity Game Engine