1

So, I'm creating an app that is locked to landscape view. I'm looking to have ads play at specific times, such as after completing a few levels or the player dies too many times.

These ads should be displayed in landscape view, which I'm struggling to figure out how to do.

NOTE : I'm displaying ads through IronSource and the code below displays the ads in portrait mode.

Current code :

public class TestClass : MonoBehaviour
{
    private void Start()
    {
        if (IronSource.Agent.isInterstitialReady())
        {
            IronSource.Agent.showInterstitial();
        }
    }
}

Any help is appreciated, thank you.

derHugo
  • 83,094
  • 9
  • 75
  • 115
Tyler Jay
  • 27
  • 5

0 Answers0