I am trying to use debug.log to see if a script is working, but I don’t know what is up with the parsing error in the script
C#
using UnityEngine;
using System.Collections;
public class SignScript : MonoBehaviour {
void onTriggerStay() {
if (Input.GetKey (KeyCode.E) && gameObject.tag = "Player") {
Debug.Log("Hello");
}
}
}