Example #1
0
 void Start()
 {
     if (transform.GetChild(0).GetComponent <LocaliseTextAndVoiceOver>() == null)
     {
         gameObject.transform.GetChild(0).gameObject.AddComponent <LocaliseTextAndVoiceOver>();
     }
     _ltvo = transform.GetChild(0).GetComponent <LocaliseTextAndVoiceOver>();
     _ltvo.localizeType = LocalizeType.TextAndVoice;
 }
 void Awake()
 {
     _ltvo        = GetComponent <LocaliseTextAndVoiceOver>();
     _img         = GetComponent <Image>();
     AttemptCount = 0;
 }