void Awake() { UIDisplayComponent = mainDisplay.GetComponent <UIDisplay>(); if (UIDisplayComponent) { UIDisplayComponent.Init(this); if (Level.currentLevelInfo.TotalDropsPerLevel > 0) { UIDisplayComponent.DropsLeftText = Level.currentLevelInfo.TotalDropsPerLevel.ToString(); } else { UIDisplayComponent.DropsLeftText = "Unlimited"; } UIDisplayComponent.SetTotalDrops(Level.currentLevelInfo.DropsPerRound); UIDisplayComponent.GameTypeText = "GameType: " + Level.currentLevelInfo.LevelType; } currentGameStats.init(); }