文档

Unity Engine

Unity Engine

FromSprite(Sprite)

Creates a background from a Sprite.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static Background FromSprite(Sprite s)

Parameters

The sprite to use as a background.

Returns

Type

Description

BackgroundA new background object.