We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb981f9 commit 6015dfaCopy full SHA for 6015dfa
Runtime/Poolable.cs
@@ -1,11 +1,12 @@
1
using UnityEngine;
2
+using System;
3
4
namespace ToolBox.Pools
5
{
6
[DisallowMultipleComponent]
7
internal sealed class Poolable : MonoBehaviour
8
- private IPoolable[] _poolables = new IPoolable[0];
9
+ private IPoolable[] _poolables = Array.Empty<IPoolable>();
10
private bool _isInitialized = false;
11
12
private void Awake()
0 commit comments