Свойство | Type | Description | |
---|---|---|---|
Active | bool | ||
Position | Vector3 | ||
velocity | Vector3 |
Méthode | Description | |
---|---|---|
Projectile ( |
Constructs a new projectile.
|
|
SetPositionAndVelocity ( Vector3 position, Vector3 velocity ) : void | ||
Update ( float elapsedTime ) : bool |
Updates the projectile.
|
public Projectile ( |
||
explosionParticles | ||
explosionSmokeParticles | ||
projectileTrailParticles | ||
Résultat | System |
public SetPositionAndVelocity ( Vector3 position, Vector3 velocity ) : void | ||
position | Vector3 | |
velocity | Vector3 | |
Résultat | void |