public void IncreaseRedScore(float score, ScoreZoneSettingsContainer.ScoreTypes scoreType) { if (scoreType == ScoreZoneSettingsContainer.ScoreTypes.Primary) { RedPrimaryScore += score; } else { RedSecondaryScore += score; } }
public void SetScoreType(ScoreZoneSettingsContainer.ScoreTypes type) { Debug.Log("Got updated scoring type of " + type.ToString()); CurrentlySelected.GetComponent <ScoreZoneSelectible>().SetScoreType(type); }
public void SetScoreType(ScoreZoneSettingsContainer.ScoreTypes type) { SettingsContainer.ScoreType = type; }