OldBlueWater/BlueWater/Assets/02.Scripts/Ai/BehaviorTree/Variable/SharedNavMeshAgent.cs

12 lines
364 B
C#
Raw Normal View History

2023-09-11 07:16:02 +00:00
using BlueWaterProject;
using UnityEngine.AI;
// ReSharper disable once CheckNamespace
namespace BehaviorDesigner.Runtime
{
[System.Serializable]
public class SharedNavMeshAgent : SharedVariable<NavMeshAgent>
{
public static implicit operator SharedNavMeshAgent(NavMeshAgent value) { return new SharedNavMeshAgent { mValue = value }; }
}
}