void Start() { var dinnerPartyGlobals = GameObject.Find("Globals").GetComponent <DinnerPartyGlobals>(); var numStars = ScoringManager.CalcScoreStars(dinnerPartyGlobals.currentPartyState, dinnerPartyGlobals.requirements); Score(numStars); }