public void Select(FaceUICell cell)
 {
     if (current_select_item != null)
     {
         current_select_item.DeSelect();
     }
     cell.Select();
     current_select_item = cell;
     ActorModel.Model.SetFace(cell._type, cell.config_id);
 }
示例#2
0
 public void Select(FaceUICell cell)
 {
     if (current_select_item != null)
     {
         current_select_item.DeSelect();
     }
     cell.Select();
     current_select_item = cell;
     Faces[cell._type]   = cell.config_id;
     actor.UpdateFace(cell._type, cell.config_id);
 }