Muzzle flash enhancements (#9527)
This commit is contained in:
@@ -15,8 +15,8 @@ public class AmmoComponent : Component, IShootable
|
||||
{
|
||||
// Muzzle flash stored on ammo because if we swap a gun to whatever we may want to override it.
|
||||
|
||||
[ViewVariables, DataField("muzzleFlash")]
|
||||
public ResourcePath? MuzzleFlash = new ResourcePath("Objects/Weapons/Guns/Projectiles/projectiles.rsi/muzzle_bullet.png");
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("muzzleFlash", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string? MuzzleFlash = "MuzzleFlashEffect";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user