示例#1
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>();
 }
 void Awake()
 {
     event_controller = FindObjectOfType <EventControllerMain>();
 }
 void Awake()
 {
     text_object      = GetComponentInChildren <Text>();
     event_controller = FindObjectOfType <EventControllerMain>();
 }