自定义泛型对象池 文章目录 自定义泛型对象池封装泛型类例子 使用Unity自带对象池 封装泛型类
public abstract class MyPool<T> : MonoBehaviour where T :Component
{[SerializeField] protected T prefab; // 生成的预制体[SerializeField] protected int defaultNum…
1. winodws桌面点击创建文本文件 (文件名称.txt) 2. 将如下代码写入txt文件中
echo off
if "%1""h" goto begin
start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h"…