void Start()
    {
        if (center != null)
        {
            center.Select();
        }

        if (peripherals != null && peripherals.Length > 0)
        {
            angle = arc / (peripherals.Length + 1);
        }
    }
Esempio n. 2
0
    void Start()
    {
        if (center != null)
        {
            center.Select();
        }

        if (peripherals != null && peripherals.Length > 0)
        {
            angle = 360.0f / peripherals.Length;
        }
    }
Esempio n. 3
0
    public virtual void OnShow()
    {
        group.alpha = 1.0f;

        if (defaultSelectable)
        {
            defaultSelectable.Select();
        }
    }