Exemplo n.º 1
0
    void Awake()
    {
        PageTable_ = new Dictionary<int, HashSet<RectTransform>>();
        root_ = Instantiate(NodePrefab) as DebugMenu;
        root_.InitAsPage("root", this, null);
        root_.gameObject.SetActive(false);          //rootはボタンを押すわけではないのでfalseにしておく
        root_.transform.SetParent(transform, false);

        InitPages();
    }