Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created February 20, 2018 11:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/b855a1fb310fcda5d829a93a70c92905 to your computer and use it in GitHub Desktop.
Save tsubaki/b855a1fb310fcda5d829a93a70c92905 to your computer and use it in GitHub Desktop.
using System.Collections;
using UnityEngine;
public class Story1 : MonoBehaviour
{
IEnumerator Start ()
{
Debug.Log("衝撃のファーストブリット");
yield return new WaitUntil(()=>Input.GetMouseButtonDown(0));
yield return null;
Debug.Log("撃滅のセカンドブリット");
yield return new WaitUntil(()=>Input.GetMouseButtonDown(0));
yield return null;
Debug.Log("抹殺のラストブリット");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment