Example #1
0
        public void _ActivateTargetMode(int abIndex, int AOE, _TargetType type, TargetModeCallBack sCallBack, ExitTargetModeCallBack eCallBack)
        {
            GridManager.AbilityTargetSelectMode(this.AbilityTargetSelected, this.SetTargetModeHoveredTile, this.ClearTargetModeHoveredTile);

            targetMode   = true;
            abilityIndex = abIndex;

            targetModeAOE  = AOE;
            targetModeType = type;

            targetSelectedCallBack = sCallBack;
            exitTargetCallBack     = eCallBack;

            OverlayManager.DisableTileCursor();

            TBTK.OnAbilityTargetMode(true);
        }