public static TransNode RecordOneTransform(RectTransform currTrans)
        {
            var tnode = new TransNode();

            tnode.name             = currTrans.name;
            tnode.anchoredPosition = currTrans.anchoredPosition;
            tnode.anchorMax        = currTrans.anchorMax;
            tnode.anchorMin        = currTrans.anchorMin;
            tnode.localPosition    = currTrans.localPosition;
            tnode.localRotation    = currTrans.localRotation;
            tnode.localScale       = currTrans.localScale;
            tnode.pivot            = currTrans.pivot;
            tnode.sizeDelta        = currTrans.sizeDelta;
            return(tnode);
        }
 public TransTree(string itemName)
 {
     //	this.itemName = itemName;
     root = new TransNode(itemName, null);
 }