SpriteFrame
public class SpriteFrame
{
public Sprite sprite;
public int duration = 2;
}
Simple class to hold sprite information and how many frames it should remain on screen if part of an animation
public class SpriteFrame
{
public Sprite sprite;
public int duration = 2;
}
Simple class to hold sprite information and how many frames it should remain on screen if part of an animation