17 lines
355 B
C#
17 lines
355 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public class PathResult
|
|
{
|
|
public List<Node> path;
|
|
public float totalCost;
|
|
public string keterangan;
|
|
public float estimasiWaktu; // waktu dalam detik
|
|
public int panjangJalur;
|
|
|
|
|
|
// Property tambahan jika butuh label
|
|
public string label => keterangan;
|
|
}
|