private CurrencyNumberText GetPlayerCashCurrencyNumberText() { if (playerCashCurrencyNumberText == null) { if (playerCashText != null) { playerCashCurrencyNumberText = playerCashText.gameObject.GetOrAdd <CurrencyNumberText>().WithText(playerCashText); } } return(playerCashCurrencyNumberText); }
private CurrencyNumberText GetSecuritiesCurrencyNumberText() { if (securitiesCurrencyNumberText == null) { if (securitiesText != null) { securitiesCurrencyNumberText = securitiesText.gameObject.GetOrAdd <CurrencyNumberText>().WithText(securitiesText); } } return(securitiesCurrencyNumberText); }
private CurrencyNumberText GetCompanyCashCurrencyNumberText() { if (companyCashCurrencyNumberText == null) { if (companyCashText != null) { companyCashCurrencyNumberText = companyCashText.gameObject.GetOrAdd <CurrencyNumberText>().WithText(companyCashText); } } return(companyCashCurrencyNumberText); }