Beispiel #1
0
		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);
		}
Beispiel #2
0
 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);
 }