public static Quaternion ToUnityTypeOrDefault(ArenaServices.Quaternion v, Quaternion d) { if (v == null) { return(d); } return(ToUnityType(v)); }
public static Quaternion ToUnityType(ArenaServices.Quaternion v) { return(new Quaternion { x = v.X, y = v.Y, z = v.Z, w = v.W }); }