Search Unity

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.