Optimize out System.ComponentModel.TypeConverter assembly usage to reduce cooked game builds
This commit is contained in:
@@ -56,7 +56,6 @@ using Real = System.Single;
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
@@ -64,7 +63,9 @@ using System.Runtime.InteropServices;
|
||||
namespace FlaxEngine
|
||||
{
|
||||
[Serializable]
|
||||
[TypeConverter(typeof(TypeConverters.Double4Converter))]
|
||||
#if FLAX_EDITOR
|
||||
[System.ComponentModel.TypeConverter(typeof(TypeConverters.Double4Converter))]
|
||||
#endif
|
||||
partial struct Double4 : IEquatable<Double4>, IFormattable
|
||||
{
|
||||
private static readonly string _formatString = "X:{0:F2} Y:{1:F2} Z:{2:F2} W:{3:F2}";
|
||||
|
||||
Reference in New Issue
Block a user