예제 #1
0
    void ActivateBorders()
    {
        float range = m_layout.GetRange();

        m_left.transform.position  = new Vector3(-range, 0f, 0f);
        m_right.transform.position = new Vector3(range, 0f, 0f);
        m_top.transform.position   = new Vector3(0f, m_layout.GetHeight(), 0f);
        m_borders.SetActive(true);
    }