Esempio n. 1
0
 void DeleteSelection()
 {
     foreach (var blfield in m_Blackboard.selection.OfType <BlackboardField>())
     {
         FieldModel field = (FieldModel)blfield.userData;
         field.RemoveFromStruct();
     }
 }
Esempio n. 2
0
 void DeleteField(BlackboardRow field, FieldModel fieldModel)
 {
     fieldModel.RemoveFromStruct();
     field.RemoveFromHierarchy();
     SetModelDirty();
 }