Example #1
0
 public LootManager(TextAsset m_CastleDBAsset, LootScriptableObject m_LootData)
 {
     this.m_CastleDBAsset = m_CastleDBAsset;
     this.m_LootData      = m_LootData;
     m_DB = new CastleDB(m_CastleDBAsset);
     EventManager.instance.AddHandler <PlayerKillEnemy>(m_OnEnemyDied);
 }
 public CoinManager(LootScriptableObject lootData)
 {
     LootData = lootData;
 }