コード例 #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);
 }