728x90 오브젝트풀1 Unity & C# ~ Object Pool using System.Collections.Generic;using UnityEngine;public class ObjectPool : MonoBehaviour{ private static ObjectPool instance = null; private static object _syncObj = new object(); public static ObjectPool Instance { get { lock (_syncObj) { if (instance == null) { ObjectPool objs = FindObjectOfT.. 2024. 10. 19. 이전 1 다음 SMALL