Hello awesome people, i'm currently trying to create a RGB light animation(by assigning random values to Color), but i'm experiencing a TERRIBLE performance issue, that when i enter the scene with the changing color light, my script is pretty simple, can anyone more experienced help me identify what i'm doing wrong that cause this severe performance degradation?
Real slowdown when running the script
Code:
public Program()
{
// The constructor, called only once every session and
// always before any other method is called....