rimworld-animation-studio/Assets/Scripts/AnimationComponents/KeyFrames/Keyframe.cs

20 lines
461 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 class Keyframe
{
2022-09-26 04:10:41 +00:00
[XmlIgnore] public int? atTick;
public int tickDuration = 1;
2022-09-13 05:36:34 +00:00
public string soundEffect;
public List<string> tags = new List<string>();
public bool ShouldSerializetags() { return tags.NotNullOrEmpty(); }
2022-09-21 21:15:25 +00:00
2022-09-26 04:10:41 +00:00
public virtual void ValidateData() { }
2022-09-13 05:36:34 +00:00
}
}