Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DefaultControls.CreateImage

public static GameObject CreateImage(Resources resources);

Parameters

resources Object with resources to use.

Returns

GameObject The root GameObject of the created element.

Description

Create an image.

Note: See Resources for details about the argument.