C# Class FireFlower, Final_Project_Main

Inheritance: ItemBase
Show file Open project: framadan/Final_Project_Main Class Usage Examples

Public Properties

Property Type Description
Ammo int
ammoCost int
fireRate float
fireSound UnityEngine.AudioClip
flamePlacement GameObject[]
flamePrefab GameObject
isFiring bool
smokePrefab GameObject
smokeSound UnityEngine.AudioClip

Public Methods

Method Description
StopUse ( ) : void
Use ( ) : void

Private Methods

Method Description
Fire ( ) : IEnumerator

Method Details

StopUse() public method

public StopUse ( ) : void
return void

Use() public method

public Use ( ) : void
return void

Property Details

Ammo public property

public int Ammo
return int

ammoCost public property

public int ammoCost
return int

fireRate public property

public float fireRate
return float

fireSound public property

public AudioClip,UnityEngine fireSound
return UnityEngine.AudioClip

flamePlacement public property

public GameObject[] flamePlacement
return GameObject[]

flamePrefab public property

public GameObject flamePrefab
return GameObject

isFiring public property

public bool isFiring
return bool

smokePrefab public property

public GameObject smokePrefab
return GameObject

smokeSound public property

public AudioClip,UnityEngine smokeSound
return UnityEngine.AudioClip