Creates a new 2D Sprite GameObject from an online image.
The Sprite GameObject has a BoxCollider2D that matches its size by default. You may use remove_collider_components function to remove the default collider.
Note that Unity Academy will use a HTTP GET request to download the image, which means that the HTTP response from the URL must allows CORS.
Creates a new 2D Sprite GameObject from an online image.
The Sprite GameObject has a BoxCollider2D that matches its size by default. You may use
remove_collider_components
function to remove the default collider.Note that Unity Academy will use a HTTP GET request to download the image, which means that the HTTP response from the URL must allows CORS.
2D mode only