Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created February 20, 2018 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/f71c4a2ca40ebd66cc38c643a613f48a to your computer and use it in GitHub Desktop.
Save tsubaki/f71c4a2ca40ebd66cc38c643a613f48a to your computer and use it in GitHub Desktop.
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 = "抹殺のラストブリット";
}
}
@tsubaki
Copy link
Author

tsubaki commented Feb 20, 2018

animation 179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment