mirror of
https://github.com/DerTyp7/fps-citybuild-unity.git
synced 2025-10-30 12:37:08 +01:00
Test
Created some folders.
This commit is contained in:
17
Assets/Scripts/NPC/PathGenerator.cs
Normal file
17
Assets/Scripts/NPC/PathGenerator.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user