Skip to content

Commit 0189638

Browse files
committed
prefabs: Update Gate relations.
1 parent 09f37f0 commit 0189638

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Runtime/PrefabProvider.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ public GameObject CreateGate(int type)
3636
var gatesPath = $"{AssetLibraryPath}/Gates/VPX";
3737
switch (type) {
3838
case GateType.GateLongPlate:
39-
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate - Long Plate.prefab");
39+
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate (VPX) - Plate, Long.prefab");
4040
case GateType.GatePlate:
41-
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate - Plate.prefab");
41+
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate (VPX) - Plate.prefab");
4242
case GateType.GateWireRectangle:
43-
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate - Wire Rectangle.prefab");
43+
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate (VPX) - Wire, Rectangle.prefab");
4444
case GateType.GateWireW:
45-
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate - Wire W.prefab");
45+
return AssetDatabase.LoadAssetAtPath<GameObject>($"{gatesPath}/Gate (VPX) - Wire, W.prefab");
4646
default:
4747
throw new ArgumentException(nameof(type), $"Unknown gate type {type}.");
4848
}

0 commit comments

Comments
 (0)