Class SpawningGrenadeEffectEventArgs
Contains all information before grenade explosion effect is spawned.
public class SpawningGrenadeEffectEventArgs : IPickupEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
SpawningGrenadeEffectEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
SpawningGrenadeEffectEventArgs(TimeGrenadeProjectile, bool)
Initializes a new instance of the SpawningGrenadeEffectEventArgs class.
public SpawningGrenadeEffectEventArgs(TimeGrenadeProjectile effectGrenade, bool isAllowed = false)
Parameters
effectGrenadeTimeGrenadeProjectileisAllowedbool
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Pickup
Gets the Pickup triggering the event.
public Pickup Pickup { get; }
Property Value
Position
Gets or sets a position of this effect.
public Vector3 Position { get; set; }
Property Value
- Vector3
Projectile
Gets the projectile that is exploding.
public TimeGrenadeProjectile Projectile { get; }