示例#1
0
    public void OnHintClosed()
    {
        audioM.Click();

        OnHint?.Invoke(this, new HintArgs
        {
            hint          = MyHint.HClose,
            correctChoice = GetCorrectChoice()
        });
    }
示例#2
0
    public void OnHintClicked(int hintID)
    {
        audioM.Click();

        if (!sessionHints[hintID])
        {
            return;
        }
        sessionHints[hintID] = false;

        OnHint?.Invoke(this, new HintArgs
        {
            hint          = (MyHint)hintID,
            correctChoice = GetCorrectChoice()
        });
    }