Your GetComponent call does not appear to be syntactically correct.
Try:
Sprite spriteImage;
void Start () {
spriteImage = GetComponent().sprite;
}
↧