This version of Unity is unsupported.

Background.FromSprite

Declaration

public static UIElements.Background FromSprite(Sprite s);

Parameters

s The sprite to use as a background.

Returns

Background A new background object.

Description

Creates a background from a Sprite.