Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to fix missing definitions?

Discussion in 'Scripting' started by LawrenceNat, Feb 3, 2020.

  1. LawrenceNat

    LawrenceNat

    Joined:
    Feb 3, 2020
    Posts:
    1
    I wrote Debug.log("test"); into Microsoft visual studio, however both the studio and unity say 'Debug' does not contain a definition for 'log', have i just written something wrong?
     
  2. PaulR

    PaulR

    Joined:
    Nov 14, 2012
    Posts:
    43
  3. csofranz

    csofranz

    Joined:
    Apr 29, 2017
    Posts:
    1,556
    Maybe you can post the entire script (please use code tags). We can then check if you have included all the necessary units.