Пример #1
0
 public void AddRewardSpawn(RewardSpawn spawn)
 {
     if (!m_rewardSpawnList.Contains(spawn))
     {
         m_rewardSpawnList.Add(spawn);
     }
 }
Пример #2
0
 // 设置块生成器
 public void SetRewardSpawn(RewardSpawn spawn)
 {
     m_spawn = spawn;
 }
Пример #3
0
 public void RemoveRewardSpawn(RewardSpawn spawn)
 {
     m_rewardSpawnList.Remove(spawn);
 }