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