예제 #1
0
 /// <summary>
 /// Убрать выделение объекта.
 /// </summary>
 public void ClearSelection()
 {
     selectedObjectPulseAnimation?.OnDelete();
     selectedObjectPulseAnimation = null;
     SelectedObject = null;
 }
예제 #2
0
 /// <summary>
 /// Выбор объекта.
 /// </summary>
 public void SelectObject(GameBoardObject gameBoardObject)
 {
     SelectedObject = gameBoardObject;
     selectedObjectPulseAnimation = new PulseAnimation(SelectedObject);
     activeAnimations.Add(selectedObjectPulseAnimation);
 }