This page is still working. All the information listed here is handy.
Optimizer is a singleton. It should have only one to be activated in the scene simultaneously.
Optimizer singleton.
Optimizer.Instance;
Get Item by items’ GUID
public Item GetItemByGUID(string GUID);
Get an items. Useful for selecting an item in the movement.
public Item GetRandomItem(bool includedInactivated = false);
public Item GetRandomItem(HashSet<string> meta, bool includedInactivated);
public Item GetRandomItemAny(); // Includes inactivated
For getting all the activated items.
public List<Item> GetAllActivatedItems();