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 tags = new List(); public bool ShouldSerializeatTick() { return atTick != null; } public bool ShouldSerializetags() { return tags.NotNullOrEmpty(); } } }