Exemplo n.º 1
0
    public override void InitFind()
    {
        base.InitFind();
        MenuButton = FindTool.FindChildNode(transform, "decoration/MenuButtonGroup").GetComponentsInChildren <VRButton>();

        detailsPanel = FindTool.FindChildComponent <DetailsPanel>(transform, "DetailsPanel");

        Sprite_weidianji = Resources.LoadAll <Sprite>("Button/weidianji");
        Sprite_dianji    = Resources.LoadAll <Sprite>("Button/dianji");

        Text_Color = MenuButton[0].transform.GetChild(0).GetComponent <Text>().color;

        tutorialPanel = FindTool.FindChildComponent <TutorialPanel>(transform, "TutorialPanel");
    }
Exemplo n.º 2
0
 private void FocusOnDetails()
 {
     ScriptManager.RegisterStartupScript(DetailsPanel, DetailsPanel.GetType(), "scroll",
                                         "$('#" + DetailsPanel.ClientID + "').get(0).scrollIntoView(true)", true);
 }
Exemplo n.º 3
0
 private void detailbtn_Click(object sender, EventArgs e)
 {
     DetailsPanel.BringToFront();
 }