Mercurial > hg > Database > jungle-sharp
annotate Test/junge-main/data/list/ListTest.cs @ 28:9588ad364fdd
Last commit before change.
author | Kazuma Takeda |
---|---|
date | Wed, 18 Jan 2017 19:53:29 +0900 |
parents | 1f99e150f336 |
children | e954d456665c |
rev | line source |
---|---|
20 | 1 using UnityEngine; |
2 using System.Collections; | |
28 | 3 using JungleDB; |
20 | 4 |
5 public class ListTest : MonoBehaviour { | |
6 | |
7 public List<int> list; | |
8 | |
9 // Use this for initialization | |
10 void Start () { | |
11 list = new List <int>(); | |
12 for(int i=0; i< 5; i++){ | |
13 list = list.add(i, i); | |
14 } | |
15 | |
16 foreach (var l in list){ | |
17 print(l); | |
18 } | |
19 | |
20 | |
21 } | |
22 | |
23 // Update is called once per frame | |
24 void Update () { | |
25 | |
26 } | |
27 } |