コード例 #1
0
    public void StartRecipie(Recipie newRecipie)
    {
        currentRecipie = newRecipie;
        if (isfirstPlay)
        {
            messageText.DisplayMessage(currentRecipie.name, "Place ingredients in the cauldron");
        }
        else
        {
            messageText.DisplayMessage(currentRecipie.name, "");
        }
        isfirstPlay = false;

        currentStep = 0;
        SetNewColor();
        currentStepStartedTime = Time.time;
        addedIngredientsThisStep.Clear();
    }