Newer
Older
Traffic-Simulator / Assets / Scripts / Roads / RoadNetwork.cs
@biosfood biosfood on 11 Oct 2022 234 bytes serialize nodes
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;

[Serializable]
public class RoadNetwork {
    public List<Node> nodes = new List<Node>();
    public List<Road> roads = new List<Road>();
}