示例#1
0
        protected TezCategoryBaseToken(TValue value, int layer, ITezCategoryBaseToken parent) : base(value)
        {
            this.layer  = layer;
            this.parent = parent;
            this.UID    = TezCategorySystem.registerToken(this);
//            Debug.Log(string.Format("{0}:{1}", this.toName, this.UID));
        }
示例#2
0
 protected void registerID(ITezCategoryRootToken rootToken)
 {
     m_FinalRID = rootToken.registerFinalToken(this);
     m_FinalUID = TezCategorySystem.registerFinalToken(this);
 }
示例#3
0
 /// <summary>
 /// 用于创建RootToken
 /// </summary>
 protected TezCategoryRootToken(TValue value) : base(value, 0, null)
 {
     TezCategorySystem.registerRootToken(this);
 }