- Home /
Question by
f_de_korte · Aug 10, 2020 at 10:52 AM ·
mouseclickopenclosedrawer
How to open a drawer with right mouseclick?
Hi, my name is Maximiliaan and I'm new with Unity. I am making a game where you can open and close a drawer by clicking on it with right mousebutton. I have watched many tutorials on how to open and close doors and drawers but they didn't work because they where or with keypress or they where to old. If someone could tell me which components I need to add, what I need to do in the animator and what C# script I need to write than I would be very thankfull. I have named the animations CloseDrawer and OpenDrawer.
2020-08-10-3.png
(178.9 kB)
Comment
Your answer
Follow this Question
Related Questions
Need help with door opening and closing script/animation 3 Answers
Closing sliding door Raycasting 1 Answer
open and close door 0 Answers
Simple Script - and no result 2 Answers