Пример #1
0
    public void bodyPartChosen(MonsterBodyPart givenMonsterBodyPart)
    {
        Debug.LogError("The bodypart" + givenMonsterBodyPart.name +
                       "was chosen");

        targets[actionTargetIndex].Add((System.Object)givenMonsterBodyPart);
    }
    public void setBodyPart(MonsterBodyPart givenMBP)
    {
        attachedMonsterBodyPart = givenMBP;

        BodypartNameText.text = givenMBP.name;
    }