MVC shop project for software architecture, in Unity.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
511 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// The scripted armor generates armor with the specified defense
/// </summary>
[CreateAssetMenu]//Allows creating ViewConfig objects in Assets -> Create menu in the Unity Editor
public class ScriptedArmor : ScriptedItem
{
public int Defense;
public int Block;
public override Item GenerateItem()
{
return new ItemArmor(Name, Sprite.name, Price, Defense, Block,Description,Rarity);
}
}