mirror of
https://github.com/DerTyp7/traffic-unity.git
synced 2025-10-30 13:17:08 +01:00
nodes in street
This commit is contained in:
13
Assets/Scripts/PrefabDictionary.cs
Normal file
13
Assets/Scripts/PrefabDictionary.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
public class PrefabDictionary : MonoBehaviour
|
||||
{
|
||||
public static PrefabDictionary instance;
|
||||
|
||||
public GameObject nodePrefab;
|
||||
|
||||
void Awake()
|
||||
{
|
||||
if (instance == null)
|
||||
instance = this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user