mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
临时提交
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user