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