Documentation

Unity Engine

Unity Engine

FromSprite(Sprite)

Creates a background from a Sprite.
Read time 1 minuteLast updated 2 months ago

Definition

public static Background FromSprite(Sprite s)

Parameters

The sprite to use as a background.

Returns

Type

Description

BackgroundA new background object.