BATIM Highlighting in Unity
Hi. This might be a noobie question, but I'm developing a Bendy and the Ink Machine fan game, and there is a certain "thing" that I can't find anywhere. When your mouse goes over an object that has the script, it will glow. I'm guessing it has to do with the emission, but I am not completely sure. I'll leave images so you know what I'm talking about. It would be a HUGE help if someone could let me know how it works.
Answer by AbhiroopKar · Feb 24 at 03:53 PM
Hey @Ishrome263, how are you achieving the art style, if possible can the get the project: abhiroopkar.gamedev@gmail.com
About your question, add a raycast from the mouse, and then check for the script., after that switch materials, I prefer not to play with material parameters from scripts. (and vice versa for the un-illuminating part)
Your answer
Follow this Question
Related Questions
Finding target position for particle system based shooting 0 Answers
Bullet to Mouse Position? 1 Answer
No overload for method 'fireBullet' takes 0 arguments 1 Answer
Need help with doing something in my game 0 Answers
[Unsolve]How to Toggle Gameobject between black and white color by using OnMouseDown method? 1 Answer