Esempio n. 1
0
 void OnTriggerStay2D(Collider2D col)
 {
     if (!beingHeld)
     {
         if (col.tag == "ReturnedStamp")
         {
             gameManager.GetComponent <GamePlayer>().BookCheck(false);
             myBook.ResetCamera();
             transform.position = startPos;
         }
         else
         {
             inTrigger = false;
         }
     }
 }
Esempio n. 2
0
 void ResetBook()
 {
     myBook.ResetCamera();
     myBook.active = false;
     myBook.gameObject.GetComponent <DragNonUI>().ifActive = false;
 }