-
Notifications
You must be signed in to change notification settings - Fork 0
Adding your custom item
michu97736 edited this page Mar 9, 2024
·
3 revisions
To add your item to the spawn menu, you have to use the Add()
method like so:
public Dictionary<string, GameObject> TESTMOD;
TESTMOD = new Dictionary<string, GameObject>();
TESTMOD.Add("bikebar", GameObject.Find("bikebar"));
MscSpawnMenu.Add(TESTMOD, MscSpawnMenu.Categories.Other);
MscSpawnMenu.Add("bikebar", GameObject.Find("bikebar"), MscSpawnMenu.Categories.Other);