Exemple #1
0
 void Awake()
 {
     if (!localizer)
     {
         localizer = GetComponent <M8.UI.Texts.Localizer>();
     }
 }
    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;
            }
        }
    }