Hi everybody,
I try to get my menu from a script but the function returns null all the time :
AC.Menu menu = AC.PlayerMenus.GetMenuWithName ("InventoryFinalTop");
if (menu == null)
Debug.Log("Menu is null");
I've checked the list : KickStarter.playerMenus.menus and she is always empty.
Comments
playerMenus.menus is private, but there's a public function that returns them instead:
AC.PlayerMenus.GetMenus ();