コード例 #1
0
        public void RemoveFeature(EngineFeature feature)
        {
            if (!Features.Contains(feature))
            {
                throw new InvalidOperationException("Cannot remove feature that is not added to this Engine.");
            }

            feature.UnAttach(this);
            (Features as List <EngineFeature>).Remove(feature);
        }