示例#1
0
 public static void Restore(this Transform t, TransformData backup)
 {
     t.position   = backup.position;
     t.localScale = backup.scale;
     t.rotation   = backup.rotation;
 }