void Awake()
 {
     decision_grid  = FindObjectOfType <DecisionGrid>();
     game_settings  = FindObjectOfType <GameSettings>();
     my_characters  = gameObject.GetComponent <MyCharacters>();
     curr_char_text = FindObjectOfType <CurrCharText>();
     status_text    = FindObjectOfType <StatusText>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     my_text_obj      = GetComponentInChildren <Text>();
     curr_char_text   = FindObjectOfType <CurrCharText>();
     event_controller = FindObjectOfType <EventControllerMain>();
     my_transform     = gameObject.transform;
     my_characters    = FindObjectOfType <MyCharacters>();
     background       = GetComponentInChildren <CharacterBackground>();
 }