mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 20:43:04 +00:00
22 lines
620 B
C#
22 lines
620 B
C#
|
using SanAndreasUnity.Importing.Paths;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace SanAndreasUnity.Behaviours.Peds.AI
|
|||
|
{
|
|||
|
public class PathMovementData // don't change to struct, it would be large
|
|||
|
{
|
|||
|
public PathNode? currentNode;
|
|||
|
public PathNode? destinationNode;
|
|||
|
public Vector3 moveDestination;
|
|||
|
public float timeWhenAttemptedToFindClosestNode = 0f;
|
|||
|
|
|||
|
public void Cleanup()
|
|||
|
{
|
|||
|
this.currentNode = null;
|
|||
|
this.destinationNode = null;
|
|||
|
this.moveDestination = Vector3.zero;
|
|||
|
this.timeWhenAttemptedToFindClosestNode = 0f;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|