Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        m_Player = GameObject.Find("Link");
        m_Level  = GameObject.Find("Level").GetComponent <LevelObject>();
        m_Level.OnSubLevelChange += SubLevelChange;

        CalcPanExtents(m_Level.GetCurrentSubLevel());
    }