create sprite gameobject from script unity code example Example: sprite unity script Resources.Load <Sprite>