PixelCrushers.DialogueSystem.UnityGUI.ImageAnimation Class Reference

Specifies image animation settings. More...

Public Member Functions

void RefreshAnimation (Texture2D image)
 
void DrawAnimation (Rect rect, Texture2D image)
 

Public Attributes

bool animate = false
 If true, animate the image. More...
 
int frameWidth = 64
 The width of the frame (one cel of animation). More...
 
float framesPerSecond = 1f
 Speed to show frames. More...
 

Detailed Description

Specifies image animation settings.

Member Function Documentation

◆ DrawAnimation()

void PixelCrushers.DialogueSystem.UnityGUI.ImageAnimation.DrawAnimation ( Rect  rect,
Texture2D  image 
)

◆ RefreshAnimation()

void PixelCrushers.DialogueSystem.UnityGUI.ImageAnimation.RefreshAnimation ( Texture2D  image)

Member Data Documentation

◆ animate

bool PixelCrushers.DialogueSystem.UnityGUI.ImageAnimation.animate = false

If true, animate the image.

◆ framesPerSecond

float PixelCrushers.DialogueSystem.UnityGUI.ImageAnimation.framesPerSecond = 1f

Speed to show frames.

◆ frameWidth

int PixelCrushers.DialogueSystem.UnityGUI.ImageAnimation.frameWidth = 64

The width of the frame (one cel of animation).


The documentation for this class was generated from the following file: