function Start () {
Inventory = false;
}
function Update () {
if(Input.GetKeyDown(KeyCode.E)) {
Canvas.enabled( !Canvas.enabled);
}
}
What is the problem with this code???
The problem is the " Canvas.enabled( !Canvas.enabled);"…