GetComponent<Image>().sprite = Resources.Load<Sprite>(string.Join("",new string[2] {"Projectiles",DescriptionDataHolder.ProjectileID.ToString()}));
So let me break that down, what it is supposed to do is load a Sprite with the name “Projectiles_#”. My project has the Resources folder with a sprite that is set to multiple and sliced into portions properly. When I set the texture manually it works but this returns a null sprite (just a white cube). DescriptionDataHolder.ProjectileID is an int that is currently either 0,1,or 2 so it should get the sliced sprite with that number right? either Projectiles_0, Projectiles_1, or Projectiles_2 right?