Hello. I'm creating a game that display a UI item using the Action: Menu->ChangeState with ShowMenu Element. I made the menu element inside the Menu Manager with all the stuff. I have several items working with the Action, those items were there previously, and I wasn't the developer who put them. Now I'm trying to replicate that, but it doesn't show anything. Is there something that I'm missing? Also, I realize that all other items have a "Recorded ConstantID," but my element doesn't have it. Is there a reference that I must put elsewhere, and I'm missing it?
Regards
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @Taurustar.
AC connects elements in the Menu Manager with Unity UI components via Constant ID - so if there's no ID recorded, you'll have to create one.
This process should be automatic upon re-assigning the component to the element. To do this: open up the UI in prefab mode, and assign the GameObject with the component into the element's "Linked" field in the Menu Manager.
See the end of this tutorial for reference.
Upon doing so, both the Menu Manager and the prefab should be updated with a matching Constant ID value, that AC can use to locate the component at runtime.
If things still don't appear to work, please share images of the problem so that I can give more specific advice, as well as your AC/Unity versions.