public void FilterItemType(ShipEvoItemType type) { if (GlobalLock.instance.CanGo) { GlobalLock.instance.GoNow(); } else { return; } if (this.selectedType != type) { this.selectedType = type; this.CheckSelectionStatus(); this.UpdateQuestItems(); } }
public void CheckSelectionStatus(ShipEvoItemType type) { this.toggleBtn.IsSelected = this.itemType == type; }