Hi guys,
I have a problem when trying to change a path to some sprites in unity.
My code is:
var spritePath : string = "Items\" + itemsList[i];
(ItemsList is a list using Unity generics and "itemsList[i]" returns what's inside that part of the list)
I seem to get the error: expecting "", found "\r".
Does anyone have a fix for this?
Thanks!
↧