Exemplo n.º 1
0
    private void Start()
    {
        weaponControl = GetComponent <WeaponControl>();
        List <BaseStat> swordStats = new List <BaseStat>();

        swordStats.Add(new BaseStat(4, "Power", "Your power level."));
        sword = new Item(swordStats, "Sword");

        weaponControl.EquipWeapon(sword);
    }