unity import sprite code example Example 1: image.sprite unity Image1.sprite =new Sprite; Example 2: sprite unity script Resources.Load <Sprite>