mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
18 lines
472 B
C#
18 lines
472 B
C#
using System.Collections.Generic;
|
|
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace RimWorldAnimationStudio
|
|
{
|
|
public class Keyframe
|
|
{
|
|
public int? atTick;
|
|
|
|
public int tickDuration = 1;
|
|
public string soundEffect;
|
|
public List<string> tags = new List<string>();
|
|
|
|
public bool ShouldSerializeatTick() { return atTick != null; }
|
|
public bool ShouldSerializetags() { return tags.NotNullOrEmpty(); }
|
|
}
|
|
}
|