private void CreateGates()
        {
            int index = 0;
            currentGatesIndex = 0;
            foreach (LogicalGate prefab in gatePrefabs)
            {
                Transform point = gatePositions[index];
                LogicalGate gate = (LogicalGate)Instantiate(prefab, point.position, point.rotation);
                gate.transform.SetParent(point, false);
                gate.GetComponent<RectTransform>().anchoredPosition = Vector2.zero;
                gateNames[index].text = gate.GateName;
                gate.LockGate(true);
                gates.Add(gate);
                index++;
            }
            currentGate = gates[currentGatesIndex];
            currentGate.LockGate(false);
            UpdateGateValues();
            ResetGateValues();
            SetIndicator();

            isShooting = false;
        }