Свойство | Type | Description | |
---|---|---|---|
bulletSpeed | float | ||
cannonShot | |||
cannonball | |||
shotParticles | GameObject |
Méthode | Description | |
---|---|---|
Shoot ( GameObject shootFrom ) : float | ||
Start ( ) : void | ||
Update ( ) : void |
public Shoot ( GameObject shootFrom ) : float | ||
shootFrom | GameObject | |
Résultat | float |
public AudioClip,UnityEngine cannonShot | ||
Résultat |
public Rigidbody2D,UnityEngine cannonball | ||
Résultat |