Mercurial > hg > Database > jungle-sharp
view src/test/csharp/jp.ac.u-ryukyu.ie.cr/junge-main/data/list/ListTest.cs @ 17:01a08cf4b2d9
Liq Files
author | Kazuma |
---|---|
date | Mon, 07 Nov 2016 01:05:24 +0900 |
parents | |
children |
line wrap: on
line source
using UnityEngine; using System.Collections; public class ListTest : MonoBehaviour { public List<int> list; // Use this for initialization void Start () { list = new List <int>(); for(int i=0; i< 5; i++){ list = list.add(i, i); } foreach (var l in list){ print(l); } } // Update is called once per frame void Update () { } }