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