public static void setWorld(this Transform transform, UMatrix matrix) { transform.localScale = matrix.getScale(); transform.rotation = matrix.getRotation(); transform.position = matrix.getPosition(); }