android – How set background of activity via Unity3d

I made an Android plugin for Unity3d that changes the background on the launch screen, now the background is registered using code:

 <style name="SplashScreen" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="android:windowFullscreen">true</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        **<item name="android:windowBackground">@drawable/background_splashscreen</item>**
 </style>

How can you change it using code in Unity?(Apparently you need to use native code)

Read more here: Source link