Newbie here. I am trying to figure out the easiest way to have a script that will highlight/outline an object in a color. I want it to look like it does in the editor when you select an object. No interactivity for now just a script added to an object that makes it have an outline. Does anyone know the simplest/cleanest way to accomplish this in C#? I want to expand on the script but first I wanted to understand the scripting enviornment better. any help would be appriciated.
It has nothing to do with scripting, it's a shader like this one https://github.com/Shrimpey/Outlined-Diffuse-Shader-Fixed
I see. So scripting is only used to turn off and on the shader in an interactive situation. Thank you palex-nx!