private ReusableGameObject _instantiateNew() { ReusableGameObject gObj = GameObject.Instantiate(_prefab, _lair); gObj.OnDisable = _disableObject; return(gObj); }
private void _disableObject(ReusableGameObject obj) { _enabled.Remove(obj); _disabled.Enqueue(obj); }