// Use this for initialization void Start() { //string sql = "SELECT " + // "MQ.ID, " + // "MQ.Image, " + // "MQ.PosX, " + // "MQ.PosY, " + // "MQ.Atk, " + // "MQ.Def, " + // "MQ.Hp, " + // "E.Apply, " + // "E.Value, " + // "E.Turn, " + // "ET.Type " + // "FROM MonsterEquip MQ " + // "JOIN Effects E " + // "ON MQ.EffectID = E.EffectID " + // "JOIN EffectType ET " + // "ON E.EffectTypeID = ET.EffectTypeID "; //mqList = dbManager.Query<MonsterEquipRaw>(sql); //Debug.Log(mqList.Count); //jsonMonsterFile = Resources.Load("monstersequip") as TextAsset; //jsonMonsters = JsonMapper.ToObject(jsonMonsterFile.text); inventoryGO = GameObject.FindGameObjectWithTag("Inventory"); // inventory = new InventoryCellView2 (); inventory = inventoryGO.AddComponent <InventoryCellView2>(); // inventory = inventoryGO.AddComponent( hashtable = inventory.ReturnHashTable; monsterInventoryScript = monsterSelectPopup.GetComponent <MonsterInventory2> (); onCD = true; //shuffeld = false; }
void Start() { monsterInventoryScript2 = selectMonsterPopupGO.GetComponent <MonsterInventory2> (); vScroller.Delegate = this; Reload(); editBtn.GetComponent <Selectable>().interactable = false; }