Esempio n. 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));
        }
Esempio n. 2
0
 protected void registerID(ITezCategoryRootToken rootToken)
 {
     m_FinalRID = rootToken.registerFinalToken(this);
     m_FinalUID = TezCategorySystem.registerFinalToken(this);
 }
Esempio n. 3
0
 /// <summary>
 /// 用于创建RootToken
 /// </summary>
 protected TezCategoryRootToken(TValue value) : base(value, 0, null)
 {
     TezCategorySystem.registerRootToken(this);
 }