public class ProjectileWrapper : MonoBehaviourWrapper

Wrapper for a projectile spawned by a weapon.


public float GetDamage()

(Client) Gets the damage dealt by this projectile.

Returns: (float) The damage dealt by this projectile.


public float GetLaunchVelocity()

(Client) Gets the launch velocity of this projectile.

Returns: (float) The launch velocity of this projectile.


public float GetLifetime()

(Client) Gets the time to live of this projectile.

Returns: (float) The projectile lifetime.


public PlayerControllerWrapper GetPlayer()

(Client) Gets the players that launched this projectile.

Returns: (PlayerController) The launching player.


public bool ExplodesOnContact()

(Client) Checks whether this projectile is set to explode on contact.

Returns: (bool) Is this projectile set to explode on contact?


public bool HasExplosionRadius()

(Client) Checks whether this projectile has an explosion radius.

Returns: (bool) Does this projectile have an explosion radius?


public float GetExplosionRadius()

(Client) Gets the explosion radius of this projectile.

Returns: (float) The explosion radius of this projectile.