This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
|
using UnityEngine;
|
|
|
|
namespace QFSW.QC.Actions
|
|
{
|
|
/// <summary>
|
|
/// Waits until the given key is pressed.
|
|
/// </summary>
|
|
public class WaitKey : WaitUntil
|
|
{
|
|
/// <param name="key">The key to wait for.</param>
|
|
public WaitKey(KeyCode key) : base(() => InputHelper.GetKeyDown(key))
|
|
{
|
|
|
|
}
|
|
}
|
|
} |