using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Temp : MonoBehaviour
{
void Update()
{
if (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift))
{
if (Input.GetKeyDown(KeyCode.Z))
{
Debug.Log("Shift + Z");
}
if (Input.GetKeyDown(KeyCode.X))
{
Debug.Log("Shift + X");
}
return;
}
if (Input.GetKeyDown(KeyCode.Z))
{
Debug.Log("Z");
}
if (Input.GetKeyDown(KeyCode.X))
{
Debug.Log("X");
}
}
}