// Update is called once per frame void Update() { ScoreInfo scoreInfo1 = CollisionBug.EvaluateScore(); ScoreInfo scoreInfo2 = AmmoHealthBug.EvaluateScore(); text.text = initialText + (scoreInfo1.penalty + scoreInfo2.penalty); }
// Update is called once per frame void Update() { ScoreInfo scoreInfo = AmmoHealthBug.EvaluateScore(); text.text = initialText + scoreInfo.score + "/" + scoreInfo.maxScore; }
void Awake() { Instance = this; Random.seed = RandomManager.seed; AmmoHealthBug.ClearBugs(); }