CraftingQueueUIListDisplay.SetSelectedItem
Declaration#
public virtual void SetSelectedItem(T item)Parameters#
| Name | Description |
|---|---|
| item | Item to set as selected |
Description#
Set object as selected and update the selectedIndex to match
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(CraftingQueueUIListDisplay target, GDTKCraftingQueueItem other) { target.SetSelectedItem(other); }
}