C# Class PlayerWeapon, MultiplayerFPS-Tutorial

Inheritance: MonoBehaviour
显示文件 Open project: Brackeys/MultiplayerFPS-Tutorial Class Usage Examples

Public Properties

Property Type Description
damage int
fireRate float
graphics GameObject
maxBullets int
name string
range float
reloadTime float

Public Methods

Method Description
PlayerWeapon ( ) : UnityEngine

Method Details

PlayerWeapon() public method

public PlayerWeapon ( ) : UnityEngine
return UnityEngine

Property Details

damage public_oe property

public int damage
return int

fireRate public_oe property

public float fireRate
return float

graphics public_oe property

public GameObject graphics
return GameObject

maxBullets public_oe property

public int maxBullets
return int

name public_oe property

public string name
return string

range public_oe property

public float range
return float

reloadTime public_oe property

public float reloadTime
return float