public override void EndTargeting()
        {
            currentCharControl.AvertCurrentApRedUI();
            currentCharControl.AvertCurrentEpRedUI();

            initiated = false;

            Destroy(courser);
            Deselect();

            // currentCharControl.SwapTargeting(0);
            // SwapTargetingController!!!

            Destroy(this);
        }
Exemplo n.º 2
0
        public void Deselect()
        {
            foreach (GameObject gameObjectt in additionalRingCoursers)
            {
                Destroy(gameObjectt);
            }

            foreach (GameObject numberCourser in additionalNumberCoursers)
            {
                Destroy(numberCourser);
            }

            Destroy(confirmButtonGameObject);

            curPath = new List <Tile>();
            path    = new List <Tile>();
            additionalNumberCoursers = new List <GameObject>();
            additionalRingCoursers   = new List <GameObject>();

            moveConfirm   = false;
            attackConfirm = false;

            currentCharControl.AvertCurrentApRedUI();
        }