Struct ActiveState
Current state of entity in the scheduler
Namespace: Unity.Scheduler
Syntax
public struct ActiveState : IComponentData
Fields
LastFrame
The entity was active in the previous frame
Declaration
public bool LastFrame
Field Value
| Type | Description |
|---|---|
| Boolean |
ThisFrame
The entity is active this frame
Declaration
public bool ThisFrame
Field Value
| Type | Description |
|---|---|
| Boolean |
Properties
Active
The item is active this frame
Declaration
public bool Active { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
BecameActive
The item became active this frame
Declaration
public bool BecameActive { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
BecameInActive
The item became inactive this frame
Declaration
public bool BecameInActive { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |