Class EmergencyReleaseButton
A wrapper for EmergencyReleaseButton.
public class EmergencyReleaseButton : IWrapper<EmergencyDoorRelease>- Inheritance
- 
      
      EmergencyReleaseButton
- Implements
- 
      IWrapper<EmergencyDoorRelease>
- Inherited Members
- Extension Methods
Properties
Base
Gets the base Interactables.Interobjects.EmergencyDoorRelease that this class is wrapping.
public EmergencyDoorRelease Base { get; }Property Value
- EmergencyDoorRelease
Door
Gets the door which will be opened if this button is interacted.
public Door Door { get; }Property Value
InitialTimer
Gets or sets default time after which button can be used again.
public float InitialTimer { get; set; }Property Value
IsReady
Gets or sets a value indicating whether button can be used.
public bool IsReady { get; set; }Property Value
List
Gets all instaces of EmergencyReleaseButton.
public static IReadOnlyCollection<EmergencyReleaseButton> List { get; }Property Value
ReleaseTimer
Gets or sets time after which button can be used again.
public float ReleaseTimer { get; set; }Property Value
Methods
Get(Door)
Gets an EmergencyReleaseButton by door.
public static EmergencyReleaseButton Get(Door door)Parameters
- doorDoor
- Door which is linked with EmergencyReleaseButton. 
Returns
- EmergencyReleaseButton
- An EmergencyReleaseButton instance if found. Otherwise, - null.
Get(EmergencyDoorRelease)
Gets an EmergencyReleaseButton by it's base-game instance.
public static EmergencyReleaseButton Get(EmergencyDoorRelease emergencyDoorRelease)Parameters
- emergencyDoorReleaseEmergencyDoorRelease
- The Interactables.Interobjects.EmergencyDoorRelease instance. 
Returns
- EmergencyReleaseButton
- An EmergencyReleaseButton instance if found. Otherwise, - null.
Get(Func<EmergencyReleaseButton, bool>)
Gets all EmergencyReleaseButton according to the condition.
public static IEnumerable<EmergencyReleaseButton> Get(Func<EmergencyReleaseButton, bool> predicate)Parameters
- predicateFunc<EmergencyReleaseButton, bool>
- Condition to satisfy. 
Returns
- IEnumerable<EmergencyReleaseButton>
- An IEnumerable<T> of found instances.