Hi- I’m working on a basic C# scripting lesson.
Here is my script:
using UnityEngine;
using System.Collections;
public class newScript : MonoBehaviour {
int a = 5;
public int[] arr;
// Use this for initialization
void Start () {
foreach (int i in arr) {
Debug.Log(i);
}
// Update is called once per frame
void Update () {
}
}
I receive 3 errors from Monodevelop
Here is the lesson I received the instruction from link text
Any help I could receive would be greatly appreciated as I am really trying to make an effort to learn as much as I can. Thank you in advance for your help. Have a good day,
Dale