//画线
    private void setLine(GoddessAstrolabeStarCtrl _gas)
    {
        GoddessAstrolabeSample ss = _gas.getInfo();

        if (ss.father == 0 || !GoddessAstrolabeManagerment.Instance.getFatherStarIsOpen(ss))
        {
            return;
        }
        if (getFatherStar(ss.father) != null)
        {
            if (_gas.getInfo().mainType == 1)
            {
                LineRenderer renderActive = (Instantiate(lineActive) as GameObject).GetComponent <LineRenderer> ();

                renderActive.transform.parent = _gas.transform;
                renderActive.SetPosition(0, _gas.getPos());
                renderActive.SetPosition(1, getFatherStar(ss.father).getPos());
                renderActive.enabled = true;
            }
            else
            {
                LineRenderer renderNotActive = (Instantiate(lineNotActive) as GameObject).GetComponent <LineRenderer> ();

                renderNotActive.transform.parent = _gas.transform;
                renderNotActive.SetPosition(0, _gas.getPos());
                renderNotActive.SetPosition(1, getFatherStar(ss.father).getPos());
                renderNotActive.enabled = true;
            }
        }
    }
    private void findStar()
    {
        lookType = 1;
        Vector3        pos;
        List <Vector3> list = getStarPos();

        if (list == null || list.Count <= 0)
        {
            //没有可激活星星时定位到最后一颗
            if (stars != null && stars.Count > 0)
            {
                GoddessAstrolabeStarCtrl a = null;
                for (int i = 0; i < stars.Count; i++)
                {
                    if (stars[i].getInfo().id == GoddessAstrolabeManagerment.Instance.getLastStarIdById(nebulaId))
                    {
                        a = stars[i];
                    }
                }
                if (a == null)
                {
                    pos = new Vector3(stars[0].getPos().x, stars[0].getPos().y, (stars[0].getPos().y *zByZPer - zByZPer2));
                }
                else
                {
                    pos = new Vector3(a.getPos().x, a.getPos().y, (a.getPos().y *zByZPer - zByZPer2));
                }
            }
            else
            {
                pos = new Vector3(0, 0, -5);
            }
        }
        else
        {
            if (lookingId >= list.Count - 1)
            {
                lookingId = 0;
            }
            else
            {
                lookingId++;
            }
            pos = new Vector3(list[lookingId].x, list[lookingId].y, (list[lookingId].y * zByZPer - zByZPer2));
        }

//		gaCamera.transform.localRotation = new Quaternion(0,0,0,0);
        iTween.MoveTo(gaCamera.gameObject, iTween.Hash("position", pos, "easetype", iTween.EaseType.easeInOutCubic, "oncomplete", "over", "time", 0.3f));
    }