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(); } }
public void UnuseEntity(int dsID) { DSEntityInfo dsentityInfo = this.EntityInfoDic[dsID]; this.EntityInfoDic[dsID].State = DSEntityState.UnUsed; }