Created
May 17, 2015 04:36
-
-
Save yasuakiohama/508db8e3791883ea24ea to your computer and use it in GitHub Desktop.
エクセルデータテスト。最初に呼ばれた時に初期化する。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Data | |
{ | |
/// <summary> | |
/// ItemListのエクセルデータ設定用クラス | |
/// sepalate seetにチェックを着けてある。 | |
/// </summary> | |
public class Items | |
{ | |
public enum Row : int | |
{ | |
HP, | |
MP, | |
Boom, | |
fire, | |
sanda, | |
} | |
private List<Entity_Items.Param> m_param = null; | |
public List<Entity_Items.Param> param | |
{ | |
get | |
{ | |
if( m_param != null ) | |
{ | |
return m_param; | |
} | |
m_param = new List<Entity_Items.Param> (); | |
m_param.AddRange ((Resources.Load (MasterData.PATH [(int)MasterData.Type.ITEMS]) as Entity_Items).param); | |
return m_param; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment