Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
void | SetTexture (Texture texture) |
Sets the RawImage component's texture to a given texture More... | |
void | ClearTexture (Texture texture) |
Clears the RawImage component's texture More... | |
void | SetShakeIntensity (float intensity) |
Creates a shake effect by scaling and repositioning the background image More... | |
Public Attributes | |
Canvas | canvas |
RawImage | rawImage |
Texture | emptyTexture |
Protected Member Functions | |
void | Start () |
void | AssignCamera () |
void | CorrectLayer () |
Protected Attributes | |
RectTransform | rawImageRectTransform |
Properties | |
static BackgroundImageUI | Instance [get] |
void AC.BackgroundImageUI.ClearTexture | ( | Texture | texture | ) |
Clears the RawImage component's texture
texture | If not null, the texture will only be cleared if this texture is currently assigned. |
void AC.BackgroundImageUI.SetShakeIntensity | ( | float | intensity | ) |
Creates a shake effect by scaling and repositioning the background image
intensity | The intensity of the effect |
void AC.BackgroundImageUI.SetTexture | ( | Texture | texture | ) |
Sets the RawImage component's texture to a given texture
texture | The texture to assign |