using System.Collections; using System.Collections.Generic; using UnityEngine; public class test : MonoBehaviour { public int[] values; void Start() { foreach (int value in values) { Debug.Log(value); } } void Update () { } }