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; }
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(); }
public void AddToFlashBackList() { FlashBackContainer.AddToFlashBack(flashBack); }