Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Missing classes

Discussion in 'Scripting' started by korven3000, Jul 1, 2020.

  1. korven3000

    korven3000

    Joined:
    Jul 1, 2020
    Posts:
    2
    Hey!

    I'm trying out Unity for the first time and I'm trying to follow a tutorial to make a simple game. The author uses the class "Input", but problem is that I can't seem to find it within Visual Studio and it is not recognized whenever i try to use it.

    I'm probably missing something obvious, but please forgive my inexperience.


    Reference: https://docs.unity3d.com/ScriptReference/Input.html
     
  2. WarmedxMints

    WarmedxMints

    Joined:
    Feb 6, 2017
    Posts:
    1,035
    Either intellisense isn't working or you are missing using UnityEngine; from the top of your class file. If you created the script in unity then opened it in visual studio, the using should be there.
     
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    14,371
  4. korven3000

    korven3000

    Joined:
    Jul 1, 2020
    Posts:
    2
    Kurt-Dekker likes this.
unityunity