Script for game with c# - for move "Horizontal" and jump 2d player =============================== public class Player : MonoBehaviour { public float speed; public float Jump; private float move; private Rigidbody2D rb; //
![Why when i open a new script in visual studio the MonoBehaviour is not in light blue ? - Unity Forum Why when i open a new script in visual studio the MonoBehaviour is not in light blue ? - Unity Forum](https://i.imgur.com/1kLKpao.jpg)
Why when i open a new script in visual studio the MonoBehaviour is not in light blue ? - Unity Forum
![I've just started learning how to code for the first time on Unity, but I have this problem. It keeps saying "Top-level statements must precede namespace and type declarations". I've looked at I've just started learning how to code for the first time on Unity, but I have this problem. It keeps saying "Top-level statements must precede namespace and type declarations". I've looked at](https://preview.redd.it/gznnnyv2rri91.png?width=907&format=png&auto=webp&s=4e1c6ca927b1e5d7e33d1de33ad235134f490fd4)