Class TantrumHazard
A wrapper for Hazards.TantrumEnvironmentalHazard.
Implements
IWrapper<Hazards.EnvironmentalHazard>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.Hazards
Assembly: Exiled.API.dll
Syntax
public class TantrumHazard : TemporaryHazard, IWrapper<EnvironmentalHazard>
Constructors
| Improve this Doc View SourceTantrumHazard(TantrumEnvironmentalHazard)
Initializes a new instance of the TantrumHazard class.
Declaration
public TantrumHazard(TantrumEnvironmentalHazard hazard)
Parameters
Type | Name | Description |
---|---|---|
Hazards.TantrumEnvironmentalHazard | hazard | The Hazards.TantrumEnvironmentalHazard instance. |
Properties
| Improve this Doc View SourceBase
Gets the Hazards.TantrumEnvironmentalHazard.
Declaration
public TantrumEnvironmentalHazard Base { get; }
Property Value
Type | Description |
---|---|
Hazards.TantrumEnvironmentalHazard |
CorrectPosition
Gets or sets the correct position of tantrum hazard.
Declaration
public Transform CorrectPosition { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Transform |
PlaySizzle
Gets or sets a value indicating whether or not sizzle should be played.
Declaration
public bool PlaySizzle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SynchronisedPosition
Gets or sets the synced position.
Declaration
public RelativePosition SynchronisedPosition { get; set; }
Property Value
Type | Description |
---|---|
RelativePositioning.RelativePosition |