Ejemplo n.º 1
0
    void UpdateUnlockShipPart()
    {
        List <Consequence> consequences = _tagContainer.GetTagListRefence();

        int i = 0;

        foreach (ShipModule shipModule in shipParts)
        {
            Button shipPartButton = shipPartsButton[i++];
            shipPartButton.interactable = shipModule.IsUnlock(consequences);
        }
    }