Esempio n. 1
0
    void CheckIfSimpleOrDoubleHug()
    {
        HuggingPoint otherHuggingPoint = player.huggingPoints.Find(hp => hp.hugger != this);

        if (otherHuggingPoint.hugger != null && otherHuggingPoint.hugger.IsHugging())
        {
            gameCanvasManager.ShowDoubleHugText();
        }
        else
        {
            gameCanvasManager.ShowHugText();
        }
    }