View Bundle Example

  • Add this snippet to bl_ShopItemUI.
public GameObject ViewButton;
  • Add this line at the end of Setup(..) method.
ViewButton.SetActive(Info.Type == ShopItemType.Bundle);
  • Add a new method in the class itself.
public void ViewBundle()
{
    BundleUI.Instance.ShowInfo(ID);
}
  • Follow this video for remaining instructions:

Powered by BetterDocs

Login
Loading...
Sign Up
Loading...