Esempio n. 1
0
 private void LateUpdate()
 {
     // TODO: Find a way to do this once per OutlineLayerCollection instance.
     if (_outlineLayers)
     {
         _outlineLayers.AcceptChanges();
     }
 }
        public void Add_DoesNotSetChangedOnError()
        {
            _layerCollection.AcceptChanges();

            try
            {
                _layerCollection.Add(null);
            }
            catch
            {
            }

            Assert.IsFalse(_layerCollection.IsChanged);
        }