testss
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user