C# Class ShipWeapons, MobileGameDevWithUnity1stEd

Inheritance: MonoBehaviour
Show file Open project: thesecretlab/MobileGameDevWithUnity1stEd Class Usage Examples

Public Properties

Property Type Description
firePoints Transform[]
shotPrefab GameObject

Public Methods

Method Description
Awake ( ) : void
Fire ( ) : void
OnDestroy ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Fire() public method

public Fire ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

Property Details

firePoints public property

public Transform[] firePoints
return Transform[]

shotPrefab public property

public GameObject shotPrefab
return GameObject