摘要: namespace Feng.FramWorkDesign{ public class IOCContainer { private Dictionary<Type, object> mInstance = new Dictionary<Type, object>(); public void Re 阅读全文
posted @ 2023-08-24 17:50 Trigger_F 阅读(8) 评论(0) 推荐(0) 编辑
摘要: namespace Feng.FramWorkDesign{ public class Singleton<T> where T: Singleton<T> { private static T mInstance; public static T MInstance { get { if (mIn 阅读全文
posted @ 2023-08-24 17:49 Trigger_F 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 数据变更事件namespace Feng.FramWorkDesign{ public class BindableProperty<T> where T: IEquatable<T> { private T mValue = default(T); public T Value { get { r 阅读全文
posted @ 2023-08-24 14:35 Trigger_F 阅读(7) 评论(1) 推荐(0) 编辑
摘要: /* *FileName: MonoSingleton.cs *Author: AUTHOR *Date: 2023/08/15 13:12:41 *UnityVersion: 2021.3.15f1c1 *Description:*/using System.Collections;using S 阅读全文
posted @ 2023-08-18 18:48 Trigger_F 阅读(3) 评论(0) 推荐(0) 编辑
摘要: private Dictionary<string, List<GameObject>> pool = new Dictionary<string, List<GameObject>>();//对象池 private Dictionary<string, List<int>> poolId = ne 阅读全文
posted @ 2023-08-18 18:46 Trigger_F 阅读(13) 评论(0) 推荐(0) 编辑
摘要: using System.IO;using System.Net;using System.Net.Sockets;using System.Text;using UnityEngine; public static class UpLoadExcel{ private static string 阅读全文
posted @ 2023-08-17 17:33 Trigger_F 阅读(54) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 下载进度 /// </summary> public float Progress { get; private set; } /// <summary> /// 下载状态 /// </summary> public int Status { get; priva 阅读全文
posted @ 2023-08-17 10:34 Trigger_F 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 需要插件EPPlus.dll、Excel.dll /// <summary> /// 读取 Excel 表并返回一个 DataRowCollection 对象 /// </summary> /// <param name="_path">Excel 表路径</param> /// <param na 阅读全文
posted @ 2023-08-15 09:20 Trigger_F 阅读(196) 评论(0) 推荐(0) 编辑