File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ public GameObject CreateGate(int type)
36
36
var gatesPath = $ "{ AssetLibraryPath } /Gates/VPX";
37
37
switch ( type ) {
38
38
case GateType . GateLongPlate :
39
- return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate - Long Plate.prefab") ;
39
+ return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate (VPX) - Plate, Long .prefab") ;
40
40
case GateType . GatePlate :
41
- return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate - Plate.prefab") ;
41
+ return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate (VPX) - Plate.prefab") ;
42
42
case GateType . GateWireRectangle :
43
- return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate - Wire Rectangle.prefab") ;
43
+ return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate (VPX) - Wire, Rectangle.prefab") ;
44
44
case GateType . GateWireW :
45
- return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate - Wire W.prefab") ;
45
+ return AssetDatabase . LoadAssetAtPath < GameObject > ( $ "{ gatesPath } /Gate (VPX) - Wire, W.prefab") ;
46
46
default :
47
47
throw new ArgumentException ( nameof ( type ) , $ "Unknown gate type { type } .") ;
48
48
}
You can’t perform that action at this time.
0 commit comments