临时提交

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2024-10-19 03:51:59 +08:00
parent 425f2eabea
commit 1315802fa2
162 changed files with 16452 additions and 11111 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Collections.Generic;
using JNGame.Sync.System;
using UnityEngine;
@@ -29,9 +30,9 @@ namespace JNGame.Sync.View
{
Update++;
var dataList = GetData();
bool isRest = dataList.Length != views.Count;
var dataList = GetData().Values;
bool isRest = dataList.Count != views.Count;
foreach (var data in dataList){
@@ -68,7 +69,7 @@ namespace JNGame.Sync.View
}
public abstract void ViewUpdate(T data,GameObject view);
public abstract GameObject NewView(T data);
public abstract T[] GetData();
public abstract ConcurrentDictionary<ulong, T> GetData();
public abstract void ViewRemove(GameObject view);