- Home /
,Auto generated scrip does not work
hello, I am a beginner and I am trying to create my first script ... I create the scrip and open it with Virtual Studio as usual and this is the code
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class lantern: MonoBehaviour { // Start is called before the first frame update void Start () { }
// Update is called once per frame void Update () { } }
the one that is always self generated but I can't use any of the MonoBehaviour functions I try to use Awake, Start, anyone and none works it's like monobehavior doesn't exist any help is welcome Thank you!,hello, I am a beginner and I am trying to create my first script ... I create the scrip and open it with Virtual Studio as usual and this is the code
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class lantern: MonoBehaviour { // Start is called before the first frame update void Start () { }
// Update is called once per frame void Update () { } }
the one that is always self generated but I can't use any of the MonoBehaviour functions I try to use Awake, Start, anyone and none works it's like monobehavior doesn't exist any help is welcome Thank you!
Your answer
Follow this Question
Related Questions
Problem with saving List of objects !!! 2 Answers
How can I fix this error in my Candy Crush style game? 0 Answers
Multiple Cars not working 1 Answer
I am getting a error CS0246: 1 Answer
I am having an error in my script 1 Answer