////////////////////////////////////////////////

    private void UnitReachedTarget()
    {
        //Debug.Log("UnitReachedTarget!");

        locCount += 1;

        _currCubeScript   = unitScript.CubeUnitIsOn;
        _currPanelScript  = _currCubeScript._platform_Panel_Cube.GetCubePanel;
        _currObjectScript = _currPanelScript.gameObject.GetComponent <ObjectScript>();

        _currPanelScript.PanelIsDEActive();

        transform.SetParent(_TARGETCubeScript.transform);

        if (_newPathSet) // has a new location been clicked
        {
            SetNewpath();
        }
        else if (locCount < _nodes.Count) // move to next target
        {
            SetNextTarget();
        }
        else
        {
            FinishMoving();
        }
    }
 public void CubeIsDEActivated()
 {
     _panelScriptChild.PanelIsDEActive();
 }