Files
PixelJumperHero/Assets/AnimationImporter/Editor/ImportedData/ImportedAnimationFrame.cs
2021-06-13 10:28:03 +02:00

34 lines
884 B
C#

using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace AnimationImporter
{
public class ImportedAnimationFrame
{
// ================================================================================
// naming
// --------------------------------------------------------------------------------
private string _name;
public string name
{
get { return _name; }
set { _name = value; }
}
// ================================================================================
// properties
// --------------------------------------------------------------------------------
public int x;
public int y;
public int width;
public int height;
public int duration; // in milliseconds as part of an animation
// reference to the Sprite that was created with this frame information
public Sprite sprite = null;
}
}