for example ill be making a 2d game something like Monkey Island but without the walking sprite, more of a first person. How do i go about clicking interactible objects.
e.g I have a door sprite with two states (closed,open) what is the best way to do this? I was thinking of either putting a script on the sprite itself that swaps itself once you click on it or maybe place it all in a input manager. So what are pros and cons? I was thinking that by using input manager it would be more tedious since you have to determine which object i have clicked on etc. Or am i wrong? If someone could enlighten me that would be helpful