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:
24
Assets/Editor/bread2unity/Model/IAnimation.cs
Normal file
24
Assets/Editor/bread2unity/Model/IAnimation.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Bread2Unity
|
||||
{
|
||||
public class IAnimation
|
||||
{
|
||||
public List<IAnimationStep> steps;
|
||||
}
|
||||
|
||||
public class IAnimationStep
|
||||
{
|
||||
public ushort spriteIndex;
|
||||
public ushort delay;
|
||||
|
||||
public float stretchX;
|
||||
public float stretchY;
|
||||
|
||||
public float rotation;
|
||||
|
||||
public byte opacity;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user