示例#1
0
    private void OnGUI()
    {
        m_rootViewRect.width  = this.position.width;
        m_rootViewRect.height = this.position.height;

        BeginWindows();

        InputEvent e = new InputEvent(Event.current);

        m_rootView.OnGui(m_rootViewRect, e);

        EndWindows();
    }