public void GrabBook(BookController book) { heldBook = book; heldBook.transform.SetParent(provider.holdAttachPoint); heldBook.transform.localPosition = provider.BookOffset; heldBook.transform.localRotation = Quaternion.identity; if (IsNonXR) { heldBook.transform.SetParent(playArea.transform); heldBook.PlaceBook(); heldBook = null; } else { heldBook.CloseBook(); HelpUI.gameObject.SetActive(true); HelpUI.ShowPlaceItem(); } }