예제 #1
0
 private CurrencyNumberText GetPlayerCashCurrencyNumberText()
 {
     if (playerCashCurrencyNumberText == null)
     {
         if (playerCashText != null)
         {
             playerCashCurrencyNumberText = playerCashText.gameObject.GetOrAdd <CurrencyNumberText>().WithText(playerCashText);
         }
     }
     return(playerCashCurrencyNumberText);
 }
예제 #2
0
 private CurrencyNumberText GetSecuritiesCurrencyNumberText()
 {
     if (securitiesCurrencyNumberText == null)
     {
         if (securitiesText != null)
         {
             securitiesCurrencyNumberText = securitiesText.gameObject.GetOrAdd <CurrencyNumberText>().WithText(securitiesText);
         }
     }
     return(securitiesCurrencyNumberText);
 }
예제 #3
0
 private CurrencyNumberText GetCompanyCashCurrencyNumberText()
 {
     if (companyCashCurrencyNumberText == null)
     {
         if (companyCashText != null)
         {
             companyCashCurrencyNumberText = companyCashText.gameObject.GetOrAdd <CurrencyNumberText>().WithText(companyCashText);
         }
     }
     return(companyCashCurrencyNumberText);
 }