ドキュメント

Unity Engine

Download Unity

Unity Engine

EnabledRefRO<T>

Stores a safe reference to a read-only component enable bit.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.