Method RemoveButton
RemoveButton(IAPButton)
Stop sending initialization and purchasing events to an IAPButton
. Use when disabling
the button, e.g. when closing a scene containing that button and wanting to prevent the user from making any
IAP events for its product.
Declaration
[Obsolete("CodelessIAPStoreListener.RemoveButton(IAPButton button) is deprecated, please use CodelessIAPStoreListener.RemoveButton(CodelessIAPButton button) instead.", false)]
public void RemoveButton(IAPButton button)
Parameters
Type | Name | Description |
---|---|---|
IAPButton | button |
RemoveButton(CodelessIAPButton)
Stop sending initialization and purchasing events to an CodelessIAPButton
. Use when disabling
the button, e.g. when closing a scene containing that button and wanting to prevent the user from making any
IAP events for its product.
Declaration
public void RemoveButton(CodelessIAPButton button)
Parameters
Type | Name | Description |
---|---|---|
CodelessIAPButton | button |