예제 #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);
 }
예제 #2
0
 public CoinManager(LootScriptableObject lootData)
 {
     LootData = lootData;
 }