Пример #1
0
 void Awake()
 {
     if (!localizer)
     {
         localizer = GetComponent <M8.UI.Texts.Localizer>();
     }
 }
Пример #2
0
    void Awake()
    {
        if (!localizer)
        {
            localizer = GetComponent <M8.UI.Texts.Localizer>();
        }

        if (autoPlay)
        {
            mGroupAuto = string.IsNullOrEmpty(group) ? "auto" : group + "_auto";

            if (LoLManager.isInstantiated)
            {
                LoLManager.instance.speakCallback += OnSpeakCalled;
            }
        }
    }