Class NPCNoiseEvent
An immutable snapshot of a noise event heard by an NPC.
public sealed class NPCNoiseEvent
- Inheritance
-
NPCNoiseEvent
- Inherited Members
- Extension Methods
Properties
Origin
The world-space origin of the noise.
public Vector3 Origin { get; }
Property Value
- Vector3
OriginInSewer
Whether the noise originated in the sewer.
public bool OriginInSewer { get; }
Property Value
Range
The range of the noise.
public float Range { get; }
Property Value
Source
The GameObject that emitted the noise, if the native event identified one.
public GameObject? Source { get; }
Property Value
- GameObject
Type
The type of noise.
public NPCNoiseType Type { get; }