Exemplo n.º 1
0
 public void UpdateOffset()
 {
     ApplyOffset();
     if (back != null)
     {
         back.UpdateOffset();
     }
 }
Exemplo n.º 2
0
 void OnMotionApplied()
 {
     //Apply the wagon's offset (this will recursively apply the offsets to the rest of the wagons in the chain)
     wagon.UpdateOffset();
 }