private void TakeArtefact() { if (_artefactView != null) { _artefactView.GetComponent <PoolObject>().ReturnToPool(); _artefactView = null; } }
private void ExploreArtefact() { _artefactView = PoolManager.GetObject("ArtefactView").GetComponent <ArtefactView>(); if (_artefactView != null) { _artefactView.SetUp(_cellController); _artefactView.Explore(_rectTransform); } }