mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-19 02:24:37 +08:00
add summary to AutoToString
This commit is contained in:
parent
757283f4e7
commit
be39dcf8d8
@ -40,6 +40,7 @@ namespace DCFApixels.DragonECS
|
||||
#endregion
|
||||
|
||||
#region AutoToString
|
||||
/// <summary> slow but automatic conversion of ValueType to string in the format "name(field1, field2... fieldn)" </summary>
|
||||
public static string AutoToString<T>(this T self, bool isWriteName = true) where T : struct
|
||||
{
|
||||
return AutoToString(self, typeof(T), isWriteName);
|
||||
|
Loading…
Reference in New Issue
Block a user