Table of Contents
ModHelperComponent for an image element
public class ModHelperImage : BTD_Mod_Helper.Api.Components.ModHelperComponent
Inheritance UnityEngine.MonoBehaviour ModHelperComponent ModHelperImage
The Image being displayed
public Image Image { get; }
Creates a new ModHelperImage
public static BTD_Mod_Helper.Api.Components.ModHelperImage Create(BTD_Mod_Helper.Api.Components.Info info, Sprite sprite);
info
Info
The name/position/size info
sprite
UnityEngine.Sprite
The sprite to display
ModHelperImage
The created ModHelperImage
Creates a new ModHelperImage
public static BTD_Mod_Helper.Api.Components.ModHelperImage Create(BTD_Mod_Helper.Api.Components.Info info, string sprite);
info
Info
The name/position/size info
sprite
System.String
The sprite to display
ModHelperImage
The created ModHelperImage