public HoldOffsetStats(HoldOffset s) { if (s.offset != null) { this.offset = new Vector3Stats(s.offset); } this.flip = s.flip; this.behind = s.behind; }
public ShadowDataStats(ShadowData s) { if (s.volume != null) { this.volume = new Vector3Stats(s.volume); } if (s.offset != null) { this.offset = new Vector3Stats(s.offset); } }
public MotePropertiesStats(MoteProperties p) { this.realTime = p.realTime; this.fadeInTime = p.fadeInTime; this.fadeOutTime = p.fadeOutTime; this.solidTime = p.solidTime; this.speedPerTime = p.speedPerTime; this.growthRate = p.growthRate; this.collide = p.collide; this.needsMaintenance = p.needsMaintenance; this.rotateTowardsTarget = p.rotateTowardsTarget; this.rotateTowardsMoveDirection = p.rotateTowardsMoveDirection; Util.AssignDefStat(p.landSound, out this.landSound); this.acceleration = new Vector3Stats(p.acceleration); this.attachedDrawOffset = new Vector3Stats(p.attachedDrawOffset); }