mirror of
https://github.com/DerTyp7/fps-citybuild-unity.git
synced 2025-10-30 04:27:09 +01:00
18 lines
364 B
C#
18 lines
364 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PathNode
|
|
{
|
|
|
|
private Vector3 position;
|
|
public Vector2 index;
|
|
private float score;
|
|
public PathNode(Vector3 Pos, float Score) {
|
|
|
|
position = Pos;
|
|
score = Score;
|
|
}
|
|
public Vector3 Position { get => position; set => position = value; }
|
|
}
|