浏览代码

fix

/UdpFix
siyao 3 年前
当前提交
d2b38e82
共有 3 个文件被更改,包括 243 次插入205 次删除
  1. 401
      Assets/HuaweiServiceDemo/Scenes/HmsGameServiceDemo.unity
  2. 21
      Assets/HuaweiServiceDemo/Scripts/udpServiceSampleScript.cs
  3. 26
      Assets/TaskProcess.cs

401
Assets/HuaweiServiceDemo/Scenes/HmsGameServiceDemo.unity
文件差异内容过多而无法显示
查看文件

21
Assets/HuaweiServiceDemo/Scripts/udpServiceSampleScript.cs
文件差异内容过多而无法显示
查看文件

26
Assets/TaskProcess.cs


using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TaskProcess : MonoBehaviour
{
public static LinkedList<Action> tasks = new LinkedList<Action>();
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
while (tasks.Count > 0)
{
var t = tasks.First;
tasks.RemoveFirst();
t.Value();
}
}
}
正在加载...
取消
保存