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

            currentContainer = container;
            ingredientsInInventory = ingredients;
            InitializeInventorySlots();
            
            Open();
        }
Ejemplo 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());
        }