// 21 //public uint knownTitleId; public override bool Meets(Character chr, Unit target, uint miscValue) { CharacterTitleEntry title = TitleMgr.GetTitleEntry((TitleId)Value1); if (title == null) { return(false); } return(chr != null && chr.HasTitle(title.TitleId)); }
IEnumerator TitleAppear() { m_imgTitle.gameObject.SetActive(true); m_imgTitle.CrossFadeAlpha(1.0f, 5.0f, false); yield return(new WaitForSeconds(3.0f)); TitleMgr.GetInst().BgmOn(); yield return(new WaitForSeconds(2.0f)); if (m_StageButton != null) { m_StageButton.SetActive(true); } if (m_NetworkButton != null) { m_NetworkButton.SetActive(true); } TitleMgr.GetInst().SetProgress(); yield return(null); }
void Awake() { m_Inst = this; m_audioBgm = transform.GetComponent <AudioSource> (); m_audioStart = transform.Find("TitleUI").GetComponent <AudioSource>(); }