Native
Loading a Native Ad
After calling the SDK initialization, Native ads are automatically loaded inside the SDK.
Showing a Native Ad
public void Button_ShowNative()
{
HCSDKManager.Instance.ShowNative(nativeImage.rectTransform);
}
API:
void ShowNative(RectTransform pRect, Camera pCam = null, string pAdPos = "");
RectTransform :Need to display the RectTransform of the native AD Image.
pCam :If the UI uses camera mode, you must use an orthogonal camera.
pAdPos :Display native ads in the location of the dot.
Native location explanation
Need to show native location:
Removing a Native Ad
public void Button_RemoveNative()
{
HCSDKManager.Instance.RemoveNative();
}