Пример #1
0
 private void OnEnable()
 {
     text.text      = "Word word word word word word word word word word word____________________________________________________word word.";
     toReplace      = new string(text.text.Where(c => c == '_').ToArray());
     PhraseInserted = false;
     envelope       = FindObjectOfType <Envelope>();
     boxIn          = FindObjectOfType <BoxIn>();
 }
 private void OnEnable()
 {
     boxIn     = FindObjectOfType <BoxIn>();
     text.text = gameState.CurrentDayLetters[boxIn.CurrentLetter - 1].Body;
 }
Пример #3
0
 private void Start()
 {
     boxIn      = FindObjectOfType <BoxIn>();
     givenMoney = gameState.CurrentDayLetters[boxIn.CurrentLetter - 1].Money;
 }
 private void OnEnable()
 {
     boxIn = FindObjectOfType <BoxIn>();
 }