The script I copied from the Summer 2020 Week 1 Tutorial, not working for me...
Hello, I'm new to coding. I started the tutorial week 1 today, but I'm having issues.
First, when I copied the script it keeps saying:
"EndLayoutGroup: BeginLayoutGroup must be called first. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)".
I also have the mention: No Mono Behaviour scripts in the file, or their names do not match the file name.
Thank you for your help!
This is the code:
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class PlayerControler : MonoBehaviour { // Start is called before the first frame update void Start() {
}
// Update is called once per frame
void Update()
{
}
}
This is a picture of my screen:
Your answer
Follow this Question
Related Questions
Cant add script becuase of error 2 Answers
Can't Add Script "The script needs to derive from MonoBehaviour!" 1 Answer
An instance of type 'UnityEngine.Behaviour' is required to access non static member 'enabled'. 0 Answers
Problems with respawning using a very simple script 1 Answer
Words in my script don't turn blue, why not? (absolute script noob) 3 Answers