예제 #1
0
파일: Book.cs 프로젝트: iRandz/EyeTracking
 public void throwOfShelf()
 {
     bookOnShelf.SetActive(false);
     bookInHand.SetActive(false);
     _lookedAt.RemoveBook(this);
     //gameObject.SetActive(true);
     _renderer.enabled = true;
     _collider.enabled = true;
     if (!throwBookAnimationRunning)
     {
         StartCoroutine(AnimateBookThrow(bookThrowAnimationTime));
     }
     _lightManager.AddAltObject_Manager(this.transform);
     _winStateManager.RollBackPuzzleCompleted();
     _interactableObject.setHoldingObject(false);
 }