Ejemplo n.º 1
0
    void Start()
    {
        POS_MAX = MovePlanet.Instance.points.Count - 1;
        StartCoroutine(CheckMove());

        script = GameObject.Find("Manager/UIManager").GetComponent <csPlanetPanalSet>();
        if (MovePlanet.Instance.points.Count <= 7)
        {
            listCount = MovePlanet.Instance.points.Count / 2;
        }

        else if (MovePlanet.Instance.points.Count < 10)
        {
            if (MovePlanet.Instance.points.Count % 2 == 0)
            {
                listCount = (MovePlanet.Instance.points.Count) / 2;
            }
            else
            {
                listCount = (MovePlanet.Instance.points.Count / 2) + 1;
            }
        }
        else
        {
            listCount = 6;
        }
        center = false;
    }
Ejemplo n.º 2
0
 void Start()
 {
     deltaX = 0;
     script = GameObject.Find("Manager/UIManager").GetComponent<csPlanetPanalSet>();
 }
Ejemplo n.º 3
0
 void Start()
 {
     deltaX = 0;
     script = GameObject.Find("Manager/UIManager").GetComponent <csPlanetPanalSet>();
 }