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