C# Class FireCtrl, S_Shooter01

Inheritance: MonoBehaviour
Afficher le fichier Open project: kwbt-mrokj/S_Shooter01 Class Usage Examples

Méthodes publiques

Свойство Type Description
_renderer UnityEngine.MeshRenderer
bullet GameObject
firePos Transform
fireSfx UnityEngine.AudioClip

Méthodes publiques

Méthode Description
Fire ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
CreateBullet ( ) : IEnumerator
PlaySfx ( AudioClip _clip ) : IEnumerator
ShowMuzzleFlash ( ) : IEnumerator

Method Details

Fire() public méthode

public Fire ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

_renderer public_oe property

public MeshRenderer,UnityEngine _renderer
Résultat UnityEngine.MeshRenderer

bullet public_oe property

public GameObject bullet
Résultat GameObject

firePos public_oe property

public Transform firePos
Résultat Transform

fireSfx public_oe property

public AudioClip,UnityEngine fireSfx
Résultat UnityEngine.AudioClip