final commit
This commit is contained in:
@ -2,13 +2,14 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[RequireComponent(typeof(BoxCollider))]
|
||||
public class NavPoint : MonoBehaviour
|
||||
{
|
||||
public Vector3 position => gameObject.transform.position;
|
||||
public int PointId => this.GetInstanceID();
|
||||
public float FlagDistance { get; private set; }
|
||||
|
||||
[HideInInspector]
|
||||
public int? PointId;
|
||||
public float DeathAttr = 0;
|
||||
public List<Vector3> EnemiesSeen = new List<Vector3>();
|
||||
//Here other attributes;
|
||||
|
Reference in New Issue
Block a user