Свойство | Тип | Описание | |
---|---|---|---|
bulletSpeed | float | ||
cannonShot | |||
cannonball | |||
shotParticles | GameObject |
Метод | Описание | |
---|---|---|
Shoot ( GameObject shootFrom ) : float | ||
Start ( ) : void | ||
Update ( ) : void |
public Shoot ( GameObject shootFrom ) : float | ||
shootFrom | GameObject | |
Результат | float |
public AudioClip,UnityEngine cannonShot | ||
Результат |
public Rigidbody2D,UnityEngine cannonball | ||
Результат |