示例#1
0
        public void UnuseResource(int dsID)
        {
            DSEntityInfo dsentityInfo = this.EntityInfoDic[dsID];

            this.UnuseResource(dsentityInfo.DSType);
            if (dsentityInfo.DSType != DSType.None)
            {
                Log <DSEntityMakerSystem> .Logger.WarnFormat("Reset DS Entity [{0}]", dsID);

                dsentityInfo.Reset();
            }
        }
示例#2
0
        public void UnuseEntity(int dsID)
        {
            DSEntityInfo dsentityInfo = this.EntityInfoDic[dsID];

            this.EntityInfoDic[dsID].State = DSEntityState.UnUsed;
        }