Exemple #1
0
    private Transform CreateNewDropFold()
    {
        Transform   df = (Transform)GameObject.Instantiate(rd.BaseDropPanelPrefab, Vector3.zero, Quaternion.identity);
        FoldManager fm = df.GetComponent <FoldManager>();

        fm.Initialize(ChildrenArgs);
        fm.SetArrowAlpha(rd.ArrowAlpha);
        DropControl         dc   = fm.GetComponent <DropControl>();
        DropDownPanelScript ddps = dc.ContainerObj.transform.GetComponent <DropDownPanelScript>();

        ddps.InstallRD(rd);
        return(df);
    }
Exemple #2
0
 public void InstallRD(RootData rda)
 {
     Panel.InstallRD(rda);
 }