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

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

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

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