on-internet
← Community

the script don't inherit a native class that can manage a script unity

Stack Overflow ·

I'm a beginner programmer on c# and Unity. So I was making a grid system for my game and when I'm trying to add as a component every script in my unity project it prints this one error : "The script don't inherit a native class that can manage a script" I don't know what i need to do.Help me please if u can //////////first script/////////////// using System.Collections; using System.Collections.Generic; using UnityEngine; public class Gird1 : MonoBehaviour { private int width; private int height; private int[,] gridArray; public Gird(int width, int height) { this.width = width; this.height = h

Comments

Sign in or sign up to comment and upvote.

No comments yet.