using System;
using System.Collections.Generic;

using UnityEngine;
using Rayman;
public class TriggerMeta : BaseMeta{
	public string nameKey;

	public string prefab;

	// trigger的类型, 详见bat const中的trigger type
	public int type;
	// 辅助数据
	public int data_1;
	public int data_2;
	public int data_3;

	public TriggerMeta (){}

	public string name{
		get{
			string key = string.Format("{0}_name", nameKey);
			return LangManager.GetTxt(key);
		}
	}

	public string desc{
		get{
			string key = string.Format("{0}_desc", nameKey);
			return LangManager.GetTxt(key); 
		}
	}

}
