Tanoda
pb_InputExtension.cs
Go to the documentation of this file.
1using UnityEngine;
2using System.Collections;
3
4namespace GILES
5{
6
10 public static class pb_InputExtension
11 {
12
13 public static bool Shift()
14 {
15 return Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift);
16 }
17
18 public static bool Control()
19 {
20 return Input.GetKey(KeyCode.LeftControl) || Input.GetKey(KeyCode.RightControl);
21 }
22 }
23}