public justPressed ( Buttons Button ) : bool | ||
Button | Buttons | Buttons Button |
리턴 | bool |
public bool justPressed(Buttons Button)
{
if ((current.IsButtonDown(Button) && old.IsButtonUp(Button)))
return true;
else
return false;
}