Documentation

Unity Engine


Unity Engine


EnabledRefRO<T>

Stores a safe reference to a read-only component enable bit.
Read time 1 minuteLast updated a day ago

Definition

public readonly struct EnabledRefRO<T> : IQueryTypeParameter where T : unmanaged, IEnableableComponent

Remarks

Do not store outside of stack

Constructors

Constructor

Description

EnabledRefRO`1(Unity.Entities.SafeBitRef)Constructor for read-only enable reference to enableable component.

Properties

Property

Description

IsValidProperty that returns true if the reference is valid, false otherwise.
ValueROProperty to get enabled value of this reference (true if enabled, false otherwise).

Static Properties

Property

Description

NullNull value for this reference.