示例#1
0
    /// <summary> 显示选择面板 </summary>
    public static void ShowChoicePanel(View view)
    {
        if (!view.m_choosePanle.activeSelf)
        {
            BubbleController.MovePanel(view, 100);
        }

        view.m_choosePanle.SetActive(true);
        view.m_isWaitingClick = true;
    }
示例#2
0
    /// <summary> 右侧对话,没有等待时间 </summary>
    public static void ReplayMessage(View view, string message)
    {
        BubbleController.MovePanel(view, -100);

        // 弹出新对话
        BubbleController.PopBubble(view, message, view.m_SoundManager.m_rightAudio);
        // 隐藏选择面板
        ChoicePanle.HideChoicePanel(view);
        view.m_HasRightChat = true;
    }