First, excuse my inglish, im from Argentina, my problem is that when I want to add a script to an object I get this error:“can’t add script behaviour assemblyinfo. the script needs to derive from monobehaviour”, the code is:
"using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class script2 : MonoBehaviour
{
public HorizontalMove;
public VerticalMove;
public CharacterController Player;
void Start()
{
Player = GetComponent<CharacterController>();
}
void Update()
{
}
}
"