public void AddRewardSpawn(RewardSpawn spawn) { if (!m_rewardSpawnList.Contains(spawn)) { m_rewardSpawnList.Add(spawn); } }
// 设置块生成器 public void SetRewardSpawn(RewardSpawn spawn) { m_spawn = spawn; }
public void RemoveRewardSpawn(RewardSpawn spawn) { m_rewardSpawnList.Remove(spawn); }