Esempio n. 1
0
 public void ApplyToTransform(Transform t)
 {
     transformation.ApplyToTransform(t);
     childrenTransformations.ForEach(p =>
     {
         var child = t.Find(p.Key);
         if (child != null)
         {
             p.Value.ApplyToTransform(child);
             DebugManager.LogFormat("transformation set: {0}", p.Key);
         }
         else
         {
             DebugManager.LogFormat("No transform: {0}", p.Key);
         }
     });
 }