32 lines
814 B
C#
32 lines
814 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace RimWorldAnimationStudio
|
|
{
|
|
public class ActorAddon
|
|
{
|
|
public string addonName;
|
|
public int anchoringActor;
|
|
public string anchorName;
|
|
public string layer = "Pawn";
|
|
public float scale;
|
|
public bool render;
|
|
|
|
[XmlIgnore] public SimpleCurve PosX = new SimpleCurve();
|
|
[XmlIgnore] public SimpleCurve PosZ = new SimpleCurve();
|
|
[XmlIgnore] public SimpleCurve Rotation = new SimpleCurve();
|
|
|
|
public ActorAddon() { }
|
|
|
|
public ActorAddon(string addonName, float scale = 1f)
|
|
{
|
|
this.addonName = addonName;
|
|
this.scale = scale;
|
|
}
|
|
}
|
|
}
|