I'm using this:
GetComponent(tk2dSprite).color = new Color(1,1,1,myAlpha);
where myAlpha is a float that I add to or decrease from. Interestingly, this code works exactly as I want it to, but it causes a ton of errors. Specifically, this error:
NullReferenceException: Object reference not set to an instance of an object
HelpArrowScript.Update () (at Assets/Scripts/HelpArrowScript.js:23)
The line causing the error is the line I posted above. My game is having major framerate issues, so I figure this might be the culprit? Am I doing something wrong?