can I invoke function faster than Update()?


Hi! I’m trying to create Lightsaber decal(you know, the MELTED effect). so far I made texture, applyed,etc.
when I tested my decal drawing function, it shows not a line, but some dots.
I believe this is because the function call is once per frame, which is Update() function.
So can I invoke function “between” the frames? say, once per 0.0001 second?
Sorry if this is already solved. I just cant find one.
Thank you.

You can use the Invoke command: Unity - Scripting API: MonoBehaviour.InvokeRepeating

or you can use fixed update and go to gamesettings/Physiks/ and change the time there :slight_smile: