示例#1
0
 public void Submit()
 {
     GameObject.FindGameObjectWithTag("StoryPlayer").GetComponent <PhotoPlayer> ().StartSlideShow();
     FlashBackContainer.ResetFlashbacks();
     submit.SetActive(false);
     reset.SetActive(false);
     if (one != null)
     {
         one.Play();
     }
     if (two != null)
     {
         two.Play();
     }
     if (three != null)
     {
         three.Play();
     }
     if (four != null)
     {
         four.Play();
     }
     if (five != null)
     {
         five.Play();
     }
     if (six != null)
     {
         six.Play();
     }
     jason.Play();
     splash.Play();
     isPressed = true;
 }
示例#2
0
 public void Reset()
 {
     print("reset");
     one.SetTrigger("Reset");
     two.SetTrigger("Reset");
     three.SetTrigger("Reset");
     reset.Play();
     FlashBackContainer.ResetFlashbacks();
     button1.gameObject.GetComponent <ImageController> ().ResetSmallPick();
     button2.gameObject.GetComponent <ImageController> ().ResetSmallPick();
     button3.gameObject.GetComponent <ImageController> ().ResetSmallPick();
 }
示例#3
0
 public void AddToFlashBackList()
 {
     FlashBackContainer.AddToFlashBack(flashBack);
 }