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