In unity C# script why Input is not exist?
<pre><code>using UnityEngine;
using System.Collections;

public class NewBehaviourScript : MonoBehaviour {
    // Use this for initialization
    void Start () {
    }

    // Update is called once per frame
    void Update () {
        if (
        }
    }
</code></pre>

<p>Inside the if ( i type Input but it's not exist.
I tried to add in the top using.System.Io; but that's not the solution.</p>

<p>In my unity project i clicked in the menu on Assests > open C# Project and it opened a new mono develop scripting window.</p>

<p>In my unity project i have a firstpersoncharacter and under in it a spotlight.
I want to make in the script a key trigger like if i click on the key F it will turn on the spotlight and if i click on F again it will turn the spotlight off.</p>