This commit is contained in:
2026-01-18 17:12:25 +01:00
parent 9f86308d8a
commit f2910d7506
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ namespace Marro.PacManUdon
{
public static void Append(this byte[] target, byte[] value, ref int index)
{
Debug.Log($"ByteUtils Append value.Length: {value.Length}, array.Length : {target.Length}, index: {index}");
Debug.Log($"ByteUtils Append {nameof(value)}.Length: {value.Length}, {nameof(target)}.Length : {target.Length}, {nameof(index)}: {index}");
Array.Copy(value, 0, target, index, value.Length);
index += value.Length;
}
@@ -50,7 +50,7 @@ namespace Marro.PacManUdon
public static void Append(this byte[] target, Vector2 value, ref int index)
{
target.Append(target, ref index);
target.Append(value.x, ref index);
target.Append(value.y, ref index);
}