コード例 #1
0
    /// <summary>
    /// Button calls this on pressed
    /// </summary>
    public void SendTaskAnswer()
    {
        StartedHunt hunt = CurrentHuntPanel.Get.CurrentHunt;

        if (!LocalTest.Testing)
        {
            ServerHandler.CheckTaskAnswerAndAdvance(hunt.Info.ID, hunt.CurrentStep, _playerInput_text.text, OnTaskAnswerResponse);
        }
        else
        {
            AdvanceHunt("Correct!");
        }
    }