Example #1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.Z) || (Input.touchSupported && Input.GetTouch(0).phase == TouchPhase.Began))
     {
         pc.Action();
     }
 }