Fix
This commit is contained in:
@@ -54317,8 +54317,8 @@ MonoBehaviour:
|
|||||||
DynamicPrefabs: []
|
DynamicPrefabs: []
|
||||||
DynamicMaterials:
|
DynamicMaterials:
|
||||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
- {fileID: 2100000, guid: fc67956adbc95584ba3ae3b18d1e430d, type: 2}
|
|
||||||
- {fileID: 2541243872366204002, guid: 7168d13094fcae94b81e672d1f4ab73f, type: 2}
|
- {fileID: 2541243872366204002, guid: 7168d13094fcae94b81e672d1f4ab73f, type: 2}
|
||||||
|
- {fileID: 2100000, guid: fc67956adbc95584ba3ae3b18d1e430d, type: 2}
|
||||||
- {fileID: 10758, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 10758, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
- {fileID: 2100000, guid: a3869014ba4893d409f150224856180a, type: 2}
|
- {fileID: 2100000, guid: a3869014ba4893d409f150224856180a, type: 2}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Marro.PacManUdon
|
|||||||
{
|
{
|
||||||
public static void Append(this byte[] target, byte[] value, ref int index)
|
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);
|
Array.Copy(value, 0, target, index, value.Length);
|
||||||
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)
|
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);
|
target.Append(value.y, ref index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user