Created
February 20, 2018 11:46
-
-
Save tsubaki/f71c4a2ca40ebd66cc38c643a613f48a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using UnityEngine; | |
public class Story1 : MonoBehaviour | |
{ | |
[SerializeField]UnityEngine.UI.Text textbox; | |
IEnumerator Start () | |
{ | |
textbox.text = "衝撃のファーストブリット"; | |
yield return new WaitUntil(()=>Input.GetMouseButtonDown(0)); | |
yield return null; | |
textbox.text = "撃滅のセカンドブリット"; | |
yield return new WaitUntil(()=>Input.GetMouseButtonDown(0)); | |
yield return null; | |
textbox.text = "抹殺のラストブリット"; | |
} | |
} |
Author
tsubaki
commented
Feb 20, 2018
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment