mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 05:35:08 +00:00
24 lines
No EOL
466 B
C#
24 lines
No EOL
466 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace RhythmHeavenMania
|
|
{
|
|
public class PlayerInput
|
|
{
|
|
public static bool Pressed()
|
|
{
|
|
return Input.GetKeyDown(KeyCode.Z);
|
|
}
|
|
|
|
public static bool PressedUp()
|
|
{
|
|
return Input.GetKeyUp(KeyCode.Z);
|
|
}
|
|
|
|
public static bool Pressing()
|
|
{
|
|
return Input.GetKey(KeyCode.Z);
|
|
}
|
|
}
|
|
} |