예제 #1
0
    void OnMouseExit()
    {
        //hide the preview stats window
        if (pm.get_battle().allowPreview&& pm.search_unit(x, y) != null)
        {
            pm.get_battle().hide_statPrev();
            if (pm.search_unit(x, y).state == unitState.PREPARING)
            {
                pm.get_battle().f_undoStatPreviewWindowHighlight(pm.search_unit(x, y).nextX, pm.search_unit(x, y).nextY, pm.search_unit(x, y).nextMove.get_isHeal(), pm.search_unit(x, y).nextMove.get_targetArea());
            }
        }

        if (pm.allowHover || repositionPlace)
        {
            //reset tile's color
            pm.highlight_helper_off(x, y);
        }
        //hide the unit's status profile
    }