rimworld-animation-studio/Assets/Scripts/AnimationComponents/AnimationClips/AnimationClip.cs

20 lines
517 B
C#
Raw Normal View History

2022-09-13 05:36:34 +00:00
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
namespace RimWorldAnimationStudio
{
public abstract class AnimationClip
{
public string layer = "Pawn";
public List<string> tags;
[XmlIgnore] public int duration;
[XmlIgnore] public Dictionary<int, string> SoundEffects = new Dictionary<int, string>();
2022-09-13 05:36:34 +00:00
public abstract void BuildSimpleCurves();
public bool ShouldSerializetags() { return tags.NotNullOrEmpty(); }
2022-09-13 05:36:34 +00:00
}
}