Exemple #1
0
    private void OnChooseEmblem(GameObject go)
    {
        if (go != null)
        {
            SoundManager.Instance.PlayFX(enSoundFXUI.BUTTON_MEDIUM);
        }


        m_GuildEmblemPopupWindow.OpenUI();
    }
Exemple #2
0
    //===================================================================================
    //
    // Event
    //
    //===================================================================================
    /// <summary>
    /// 길드마크 변경 버튼.
    /// </summary>
    /// <param name="go"></param>
    private void OnEmblemChange(GameObject go)
    {
        if (go != null)
        {
            SoundManager.Instance.PlayFX(enSoundFXUI.BUTTON_MEDIUM);
        }
        if (m_GuildEmblemPopupWindow == null)
        {
            m_GuildEmblemPopupWindow = UIResourceMgr.CreatePrefab <GuildEmblem>(BUNDLELIST.PREFABS_UI_GUILD, transform, "GuildEmblem");
            m_GuildEmblemPopupWindow.Init(this);
        }

        m_GuildEmblemPopupWindow.OpenUI();
    }