public StateInfo (int id, int layer, string layerName, string name, string tag, float speed, bool footIK, bool mirror, string motionName, float duration = 0f) { this.Id = id; this.Layer = layer; this.LayerName = layerName; this.Name = name; this.Tag = tag; this.Speed = speed; this.FootIK = footIK; this.Mirror = mirror; this.Motion = new StateMotionInfo (motionName, duration); }
public StateInfo(int id, int layer, string layerName, string name, string tag, float speed, bool footIK, bool mirror, string motionName, float duration = 0f) { this.Id = id; this.Layer = layer; this.LayerName = layerName; this.Name = name; this.Tag = tag; this.Speed = speed; this.FootIK = footIK; this.Mirror = mirror; this.Motion = new StateMotionInfo(motionName, duration); }