Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.