Exemplo n.º 1
0
    private void OnModFound(Mod mod)
    {
        ModItem modItem = Instantiate(modItemPrefab);

        modItem.Initialize(mod, menuContentPanel);
        modItem.SetToggleInteractable(!isLoaded);
        modItems.Add(mod, modItem);
    }