Unity-Technologies / uaal-example

Other
736 stars 234 forks source link

Android : keep unity player always alive #47

Open aditisaini91 opened 3 years ago

aditisaini91 commented 3 years ago

How can we avoid unity player restarting itself , every time the MainUnityActivity is started?

My activity flow is somewhat complex. There are two possiblites of opening unity:

  1. List View -> Unity
  2. List View -> List View -> Unity

Every time unity starts, I want it to resume the earlier state. On iOS, there is a way to just hide unity with method "hideUnityWindow"? Is there such a possibility on Android or any other way to achieve my scenario?

xpnewmedia commented 2 years ago

did you find a solution?