Search Unity

Question Why wont unity scripts inherit MonoBehaviour class or call debug.log or any custom made classes?

Discussion in 'Getting Started' started by drewInterface, Sep 27, 2021.

  1. drewInterface

    drewInterface

    Joined:
    Sep 27, 2021
    Posts:
    2
    I'm new to unity, I've created a project, created a new empty game object and attached a script to it, however I'm unable to even call Debug.log, the class is not recognised and I cannot create an object of any classes which I've made in the asset folder, the script won't find either....
    can anyone help...
     

    Attached Files:

  2. drewInterface

    drewInterface

    Joined:
    Sep 27, 2021
    Posts:
    2
    Joe-Censored likes this.