UnityTrafficSimulation/UnityProject/Assets/junctionAssets/prefabs/Traffic/Traffic controller.prefab
2026-09-13 20:53:11 +01:00

169 lines
4.2 KiB
Text

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1876322874735878}
m_IsPrefabParent: 1
--- !u!1 &1876322874735878
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4338775791734202}
- component: {fileID: 114146133668074700}
- component: {fileID: 114019968078442570}
m_Layer: 0
m_Name: Traffic controller
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4338775791734202
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1876322874735878}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -627.98737, y: -321.28766, z: -59.71112}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &114019968078442570
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1876322874735878}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 372142912, guid: dc443db3e92b4983b9738c1131f555cb, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SceneId:
m_Value: 0
m_AssetId:
i0: 100
i1: 198
i2: 55
i3: 178
i4: 86
i5: 246
i6: 148
i7: 4
i8: 75
i9: 2
i10: 48
i11: 224
i12: 122
i13: 121
i14: 255
i15: 124
m_ServerOnly: 1
m_LocalPlayerAuthority: 0
--- !u!114 &114146133668074700
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1876322874735878}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: acb679dffbe9eb24db245240e4cb2425, type: 3}
m_Name:
m_EditorClassIdentifier:
url:
getURI:
putRoadsURI:
putCarCountURI:
roads:
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 0
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
- spawnPoint: {fileID: 0}
isThereSpace: 1
carCount: 0
crossroadsUnity:
- colors: {fileID: 0}
northNextRoadID: -1
southNextRoadID: 13
westNextRoadID: -1
eastNextRoadID: 4
- colors: {fileID: 0}
northNextRoadID: -1
southNextRoadID: 9
westNextRoadID: 2
eastNextRoadID: -1
- colors: {fileID: 0}
northNextRoadID: 7
southNextRoadID: -1
westNextRoadID: 14
eastNextRoadID: -1
- colors: {fileID: 0}
northNextRoadID: 3
southNextRoadID: -1
westNextRoadID: -1
eastNextRoadID: 8
carPrefab: {fileID: 1151901255225472, guid: 39dee53f486d69e4692dbf9079a0a204, type: 2}
carColors:
- {r: 0.7169812, g: 0.49711794, b: 0.20630117, a: 0}
- {r: 0.9716981, g: 0.75627446, b: 0.75627446, a: 0}
- {r: 0.3426486, g: 0.4520667, b: 0.9433962, a: 0}
carCounter: {fileID: 0}
spawnPosition: 000000000100000005000000060000000a0000000b0000000f0000000c000000
updateInterval: 1
spawnInterval: 0.5