File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Assets/Scripts/Controller Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class InventoryController : MonoBehaviour {
1616 private InventoryMenu invMenu ;
1717
1818
19- public void InitInvCtl ( )
19+ public void InitInvCtl ( )
2020 {
2121 itemList = new List < Item > ( ) ;
2222 gameCtl = GameController . GetInstance ( ) ;
@@ -29,14 +29,14 @@ public void InitInvCtl()
2929
3030 invMenu = menu . GetComponent < InventoryMenu > ( ) ;
3131 invMenu . InitMenu ( ) ;
32- invMenu . CloseMenu ( ) ;
33-
32+ invMenu . CloseMenu ( ) ;
33+
3434#if UNITY_EDITOR
3535 //Default inventory
36- AddSmokeScreen ( ) ;
37- AddBlockade ( ) ;
36+ // AddSmokeScreen();
37+ // AddBlockade();
3838#endif
39-
39+
4040 }
4141
4242 public void AddItem ( Item item )
@@ -61,8 +61,8 @@ public InventoryMenu getMenu()
6161 void AddSmokeScreen ( )
6262 {
6363 this . AddItem ( new SmokeScreenItem ( ) ) ;
64- }
65-
64+ }
65+
6666 [ ContextMenu ( "Add Blockade Item" ) ]
6767 void AddBlockade ( )
6868 {
You can’t perform that action at this time.
0 commit comments