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