view Test/junge-main/data/list/ListTest.cs @ 38:e954d456665c

library is made by rake
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 22 Feb 2017 16:58:10 +0900
parents 9588ad364fdd
children
line wrap: on
line source

// using UnityEngine;
using System.Collections;
using JungleDB;

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 () {
	
	}
}