Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Real slowdown when running the script

$
0
0
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?
Code:
public Program()

{

	// The constructor, called only once every session and
	// always before any other method is called....
Real slowdown when running the script

Viewing all articles
Browse latest Browse all 903

Trending Articles