mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
基础案例 准备改帧同步了
This commit is contained in:
@@ -11,6 +11,7 @@ using JNGame.Sync.System.Data;
|
||||
using JNGame.Network.Action;
|
||||
using JNGame.Sync.System.Data.Type;
|
||||
using TouchSocket.Core;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
namespace Game.JNGState.Logic.Data
|
||||
{
|
||||
@@ -23,7 +24,7 @@ namespace Game.JNGState.Logic.Data
|
||||
[Serializable]
|
||||
public class GDataValue
|
||||
{
|
||||
public DValuePosition Position = null;
|
||||
public NDataLVector3 Position = null;
|
||||
}
|
||||
|
||||
public abstract class IGDataBase : ISTileData
|
||||
@@ -58,7 +59,7 @@ namespace Game.JNGState.Logic.Data
|
||||
public override void BindEntity(JNTileEntity entity)
|
||||
{
|
||||
base.BindEntity(entity);
|
||||
Value.Position = new DValuePosition()
|
||||
Value.Position = new NDataLVector3()
|
||||
{
|
||||
x = Node.Position.x.rawValue,
|
||||
y = Node.Position.y.rawValue,
|
||||
|
Reference in New Issue
Block a user