Exemplo n.º 1
0
 public void DragWatch()
 {
     Watch.transform.position = Input.mousePosition;
     WatchTekst.SetActive(true);
     if (!Tick.isPlaying && !Tickplayed)
     {
         Tickplayed = true;
         Tick.Play();
     }
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public void DropWatch()
 {
     Watch.transform.position = WatchInitialPos;
     WatchTekst.SetActive(false);
 }