Table of Contents

Class Recycler

Namespace
S1API.Trash
Assembly
S1API.dll

Provides read-only access to a native world recycler.

public sealed class Recycler
Inheritance
Recycler
Inherited Members
Extension Methods

Remarks

Use this wrapper while its native object exists in the loaded scene. Obtain a new snapshot from GetAll() after a scene change.

Properties

GameObject

Gets the game object that owns the native recycler.

public GameObject GameObject { get; }

Property Value

GameObject

IsHatchOpen

Gets whether the native hatch is open.

public bool IsHatchOpen { get; }

Property Value

bool

Position

Gets the recycler's world position.

public Vector3 Position { get; }

Property Value

Vector3

State

Gets the current native state. Processing may continue to be reported after the stop signal.

public RecyclerState State { get; }

Property Value

RecyclerState