using UnityEngine;
using System.Collections;
public class Weapon : MonoBehaviour {
public enum WeaponSlot
{
Primär,
Sekundär,
Tertiär,
Consumable,
};
public enum WeaponType
{
Knife,
Gun,
MP,
Shotgun,
Sniper,
Rifle,
RocketLauncher,
Grenade,
Consumable
};
// For all:
public string Name = "" ;
public string Description="" ;
public WeaponType weaponType;
public WeaponSlot weaponSlot;
public Texture weaponLogo;
public Texture2D crossHair;
public Texture2D bulletHole;
public int Price = 0;
}
can’t figure out why i am getting tons of errors… guess because of the first one written : Parsing Error CS8025 marking the last } as wrong or something :o any idea whats i’ve done wrong?