#if GRAPH_DESIGNER /// --------------------------------------------- /// Behavior Designer /// Copyright (c) Opsive. All Rights Reserved. /// https://www.opsive.com /// --------------------------------------------- namespace Opsive.BehaviorDesigner.Runtime.Components { using Unity.Entities; using UnityEngine; /// /// The DOTS data structure for the TaskObject class. /// public struct TaskObjectComponent : IBufferElementData { [Tooltip("The index of the task.")] public ushort Index; } /// /// A DOTS flag indicating when a TaskObject node is active. /// public struct TaskObjectFlag : IComponentData, IEnableableComponent { } /// /// A DOTS tag indicating when a TaskObject node needs to be reevaluated. /// public struct TaskObjectReevaluateFlag : IComponentData, IEnableableComponent { } } #endif