示例#1
0
    void UpdateStats()
    {
        if (heroDetails == null)
        {
            return;
        }

        heroDetails.CalculateStatDifference(item);
    }
示例#2
0
    void UpdateStats()
    {
        if (heroInterface == null)
        {
            return;
        }

        heroInterface.CalculateStatDifference(item);
    }
示例#3
0
    private void UpdateStats()
    {
        if (heroInterface == null)
        {
            return;
        }

        if (item != null && item.data != null && item.isIdentified)
        {
            heroInterface.CalculateStatDifference(item);
        }
        else
        {
            heroInterface.ClearStatDifferences();
        }
    }