mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:07:39 +02:00
bread2unity BCCAD interpreter setup
This commit is contained in:
31
Assets/Editor/bread2unity/Model/ISprite.cs
Normal file
31
Assets/Editor/bread2unity/Model/ISprite.cs
Normal file
@ -0,0 +1,31 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bread2Unity
|
||||
{
|
||||
public class ISprite
|
||||
{
|
||||
public List<ISpritePart> parts = new List<ISpritePart>();
|
||||
}
|
||||
|
||||
public class ISpritePart
|
||||
{
|
||||
public ushort regionX;
|
||||
public ushort regionY;
|
||||
public ushort regionW;
|
||||
public ushort regionH;
|
||||
|
||||
public short posX;
|
||||
public short posY;
|
||||
|
||||
public float stretchX;
|
||||
public float stretchY;
|
||||
|
||||
public float rotation;
|
||||
|
||||
public bool flipX;
|
||||
public bool flipY;
|
||||
|
||||
public byte opacity;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user