private void Update() { if (canBuild) { ChasePointer(); StackHeightController.CalculateCurrentBuildAltitude(); if (hasSelectedBlock) { ListenForBuildHotkeys(); } } }
public static void CheckSkyscraperChallenges() { StackHeight = StackHeightController.CalculateStackHeight(); var skyscraperChallenges = RoundController.Singleton.CurrentRound.RoundChallenges.Where(rc => rc.RoundChallengeType == RoundChallengeType.Skyscraper); foreach (var challenge in skyscraperChallenges) { challenge.CheckCompleted(); } UIChallengesController.Singleton.UpdateUIChallenges(); }