Esempio n. 1
0
 public void SelectSort()
 {
     _imageToSetSelected.sprite = _selectedSortIcon;
     LastSortItem.SetUnselectedSprite();
     SetSelectedSprite();
     LastSortItem = this;
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     _unselectedSprite = GetComponent <Image>().sprite;
     if (_isDefaultSort)
     {
         LastSortItem = this;
         SetSelectedSprite();
     }
 }