Skip to Main Content

BTD_Mod_Helper​.Api​.Components​.ModHelperImage


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Components

ModHelperImage Class

ModHelperComponent for an image element

public class ModHelperImage : BTD_Mod_Helper.Api.Components.ModHelperComponent

Inheritance UnityEngine.MonoBehaviourModHelperComponent  ModHelperImage

Properties

ModHelperImage.Image Property

The Image being displayed

public Image Image { get; }

Property Value

UnityEngine.UI.Image

Methods

ModHelperImage.Create(Info, Sprite) Method

Creates a new ModHelperImage

public static BTD_Mod_Helper.Api.Components.ModHelperImage Create(BTD_Mod_Helper.Api.Components.Info info, Sprite sprite);

Parameters

info Info

The name/position/size info

sprite UnityEngine.Sprite

The sprite to display

Returns

ModHelperImage
The created ModHelperImage

ModHelperImage.Create(Info, string) Method

Creates a new ModHelperImage

public static BTD_Mod_Helper.Api.Components.ModHelperImage Create(BTD_Mod_Helper.Api.Components.Info info, string sprite);

Parameters

info Info

The name/position/size info

sprite System.String

The sprite to display

Returns

ModHelperImage
The created ModHelperImage

To learn how to download BTD Mod Helper and install mods, click here