16 lines
No EOL
456 B
C#
Executable file
16 lines
No EOL
456 B
C#
Executable file
using UnityEngine;
|
|
using UnityEngine.AI;
|
|
|
|
namespace ABI.CCK.Components
|
|
{
|
|
public class CVRNavController : MonoBehaviour
|
|
{
|
|
public NavMeshAgent navMeshAgent;
|
|
public Transform[] navTargetList;
|
|
public int navTargetIndex = 0;
|
|
public Transform[] patrolPoints;
|
|
public int patrolPointIndex = 0;
|
|
public float patrolPointCheckDistance = 0.5f;
|
|
public bool patrolEnabled = false;
|
|
}
|
|
} |