Example #1
0
 /// <summary>
 /// Initializiation
 /// </summary>
 private void Start()
 {
     if (Instance != null)
     {
         CustomLogger.Instance.Error(LogMessages.MULTIPLE_INSTANCES);
         return;
     }
     Instance     = this;
     current_item = null;
     list         = List_Panel.GetComponentInChildren <ScrollableList>();
     List_Panel.SetActive(false);
     Info_Panel.SetActive(false);
     Item_Panel.SetActive(false);
 }
Example #2
0
 private void Start()
 {
     inventoryGUI = AC.PlayerMenus.GetMenuWithName("RefugeeInventory").canvas.gameObject.GetComponent <InventoryGUIManager>();
 }