2D-Platformer/Assets/Scripts/Data/Navigation/NavigationAgentData.cs
2022-02-12 12:53:50 +02:00

22 lines
No EOL
462 B
C#

using Assets.Scripts.Util;
using Unity.Entities;
using UnityEngine;
namespace DefaultNamespace.Navigation
{
[GenerateAuthoringComponent]
public struct NavigationAgentData : IComponentData
{
public float currentTime { get; set; }
public int currentIndex { get; set; }
public Vector2 startPos { get; set; }
public Optional<Vector2> destination { get; set; }
public int lastGoalPosIndex { get; set; }
public bool1 Grounded { get; set; }
}
}