C# Class RayGun, Final_Project_Main

Inheritance: MonoBehaviour
Datei anzeigen Open project: framadan/Final_Project_Main Class Usage Examples

Public Properties

Property Type Description
ammo int
canFire bool
coolDown float
projectile GameObject
shotSound UnityEngine.AudioClip

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
Use ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Use() public method

public Use ( ) : void
return void

Property Details

ammo public_oe property

public int ammo
return int

canFire public_oe property

public bool canFire
return bool

coolDown public_oe property

public float coolDown
return float

projectile public_oe property

public GameObject projectile
return GameObject

shotSound public_oe property

public AudioClip,UnityEngine shotSound
return UnityEngine.AudioClip