CSVValue.CSVValue C# (CSharp) Méthode

CSVValue() public méthode

public CSVValue ( string head, string strValue, BASIC_TYPE type, int rowIndex, int colIndex ) : UnityEngine
head string
strValue string
type BASIC_TYPE
rowIndex int
colIndex int
Résultat UnityEngine
	public CSVValue(string head,string strValue,BASIC_TYPE type,int rowIndex,int colIndex)
	{
		Head = head;
		StrValue = strValue;
		mType = type;
		RowIndex = rowIndex;
		ColIndex = colIndex;

		// 解析
		switch (mType) {
		case BASIC_TYPE.INT:
			IntValue = int.Parse (StrValue);
			break;
		case BASIC_TYPE.FLOAT:
			FloatValue = float.Parse (StrValue);
			break;
		default:
			break;
		}
	}