view Main/jungle-main/util/Pair.cs @ 20:1f99e150f336

fix folder and add Object Mapper.
author Kazuma Takeda
date Thu, 15 Dec 2016 22:52:48 +0900
parents
children f2ea780b3e80
line wrap: on
line source

using UnityEngine;
using System.Collections;

public class Pair<L, R> {
	private L left;
	private R right;

	public Pair(L _left,R _right){
		left = _left;
		right = _right;
	}
	// not same name , add s.
	public L lefts(){
		return left;
	}

	public R rights(){
		return right;
	}

}