Inheritance: InteractibleObject
Esempio n. 1
0
        public void Open(List<Ingredient> ingredients, ContainerObject container)
        {
            title.text = container.objectName;

            currentContainer = container;
            ingredientsInInventory = ingredients;
            InitializeInventorySlots();
            
            Open();
        }
Esempio n. 2
0
        public void Open(GameObject lfc, GameObject rfc, Transform camPos, ContainerObject co, GameObject cell)
        {
            cameraInPos = camPos;

            fuelCellContainer = co;
            rightCharger.chargeBar = rfc;
            leftCharger.chargeBar = lfc;

            cellObject = cell;
            
            StartCoroutine(OpenCoroutine());
        }