public void Setup() { WorldData worldData = GameplayData.GetWorldData(worldID); int bonusCount = BonusCollectableList.GetWorldCollectedCount(worldID); moonCountDisplay.text = bonusCount.ToString() + "/" + worldData.moonMax.ToString(); collectableCountDisplay.text = "x" + worldData.collectCount; }
private void Start() { tabAnchor.anchoredPosition = Vector2.right * HIDDEN_X; score = BonusCollectableList.GetWorldCollectedCount(GameplayData.currentWorld); UpdateDisplay(); }