This commit is contained in:
SepComet
2026-03-27 13:27:14 +08:00
parent ff9ee1291f
commit e5851795c7
43 changed files with 1544 additions and 35 deletions
@@ -0,0 +1,27 @@
using UnityEngine;
namespace Network.Defines
{
public static class ProtoExtensions
{
public static UnityEngine.Vector3 ToVector3(this Vector3 vec)
{
return new UnityEngine.Vector3()
{
x = vec.X,
y = vec.Y,
z = vec.Z
};
}
public static Vector3 ToProtoVector3(UnityEngine.Vector3 vec)
{
return new Vector3()
{
X = vec.x,
Y = vec.y,
Z = vec.z
};
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fefe99db6b80a43418075799ba64c176
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: