Class SmokeVisualizerSystem
Ensures entities with SmokeVisualsComponent have a color corresponding with their contained reagents.
Inheritance
System.Object
Robust.Shared.GameObjects.EntitySystem
Robust.Client.GameObjects.VisualizerSystem<SmokeVisualsComponent>
SmokeVisualizerSystem
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit
Namespace: Content.Client.Chemistry.Visualizers
Assembly: Content.Client.dll
Syntax
public sealed class SmokeVisualizerSystem : VisualizerSystem<SmokeVisualsComponent>, IEntitySystem, IEntityEventSubscriber, IPostInjectInit
Methods
| Improve this Doc View SourceOnAppearanceChange(EntityUid, SmokeVisualsComponent, ref AppearanceChangeEvent)
Syncs the color of the smoke with the color of its contained reagents.
Declaration
protected override void OnAppearanceChange(EntityUid uid, SmokeVisualsComponent comp, ref AppearanceChangeEvent args)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
SmokeVisualsComponent | comp | |
Robust.Client.GameObjects.AppearanceChangeEvent | args |
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit