# UnityObjectPoolTutorial **Repository Path**: ryanindiedev/UnityObjectPoolTutorial ## Basic Information - **Project Name**: UnityObjectPoolTutorial - **Description**: Unity自带对象池API教程。 - **Primary Language**: C# - **License**: CC0-1.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2022-10-06 - **Last Updated**: 2024-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![Cover_GitHub](https://user-images.githubusercontent.com/62572951/140847168-fd548200-f8db-46bf-a837-db74ed4a74eb.jpg) # Unity 2021 # 自带对象池API教程 # Build-in Object Pool API Tutorial __________________________________ 教程视频 Tutorial video: https://www.bilibili.com/video/BV14T4y197bW https://youtu.be/_AoNzD9sp3o __________________________________ 在本教程中我们将学习Unity 2021版新添加的对象池API。 主要内容: 1. Object Pool API的使用方法 2. 构建一个方便好用的泛型类基础对象池 3. 制作基于对象池的随机宝石生成器脚本 4. 演示正确使用对象池所带来的性能提升 In this video you will learn how to use the build-in object pool API in Unity Engine 2021. Main Contents: 1. Create a custom object pool by using Unity build-in ObjectPool type 2. Build an easy to use generic base pool type 3. Learn how to improve performance by correctly using object pooling __________________________________ 相关视频 Related video: 什麽是对象池 Object Pool - https://youtu.be/LmB_fhIxCDk __________________________________ 使用到的资源包 Assets package I have used: Free Gems Sets - Unity Asset Store - Free Gems Sets - Unity Asset Store - https://assetstore.unity.com/packages/3d/props/sets-gems-19902 __________________________________ 参考资料链接 Reference Links: ObjectPool - Unity Documentation Scripting API - https://docs.unity3d.com/2021.1/Documentation/ScriptReference/Pool.ObjectPool_1.html __________________________________ ➤订阅我的油管频道 Subscribe to my YouTube Channel - https://www.youtube.com/channel/UCSRCf2y6LV8vpKSoXDoU2VQ?sub_confirmation=1 ➤Discord Server - https://discord.gg/ZmTgSCe4Jq ➤Twitter - https://twitter.com/XuZuyan ➤ArtStation - https://www.artstation.com/xuzuyan