No - it's too specific. A custom script would be better suited to this.
You can detect if the mouse is not over a specific menu with the following:
AC.Menu inventoryMenu = AC.PlayerMenus.GetMenuWithName ("Inventory"); if (!inventoryMenu.IsPointInside (AC.KickStarter.GetInvertedMouse ())) { // Mouse is not over "Inventory" }
And you can change the inventory icon's size (when a cursor) by changing this variable:
That's not the full script - just the relevent pieces of AC code you'll need to make use of. You'll want to place it in a LateUpdate() function, most likely.
But yes, it'll go on a new GameObject, and should also work for mobile.
Comments
You can detect if the mouse is not over a specific menu with the following:
AC.Menu inventoryMenu = AC.PlayerMenus.GetMenuWithName ("Inventory");
if (!inventoryMenu.IsPointInside (AC.KickStarter.GetInvertedMouse ()))
{
// Mouse is not over "Inventory"
}
And you can change the inventory icon's size (when a cursor) by changing this variable:
AC.KickStarter.cursorManager.inventoryCursorSize;
But yes, it'll go on a new GameObject, and should also work for mobile.