public void DragWatch() { Watch.transform.position = Input.mousePosition; WatchTekst.SetActive(true); if (!Tick.isPlaying && !Tickplayed) { Tickplayed = true; Tick.Play(); } }
private void Start() { BookInitialPos = Book.transform.position; WatchInitialPos = Watch.transform.position; SweaterInitialPos = Sweater.transform.position; HeadphonesInitialPos = Headphones.transform.position; PictureInitialPos = Picture.transform.position; TrainTickInitialPos = TrainTick.transform.position; continueButton.SetActive(false); BookTekst.SetActive(false); SweaterTekst.SetActive(false); HeadphonesTekst.SetActive(false); WatchTekst.SetActive(false); PictureTekst.SetActive(false); TrainTickTekst.SetActive(false); }
public void DropWatch() { Watch.transform.position = WatchInitialPos; WatchTekst.SetActive(false); }