Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to run Unity Apk in background?

Discussion in 'Scripting' started by Mobzway, Feb 26, 2019.

  1. Mobzway

    Mobzway

    Joined:
    Mar 26, 2018
    Posts:
    4
    I want a way to run overall application in background.As soon as app goes background all c# code stops executing.I tried service but couldn't find a way to start unity main thread and overall Unity code in background.Is there a way out of this or any better alternatives please suggest.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,756
  3. fcevallos

    fcevallos

    Joined:
    Apr 5, 2019
    Posts:
    4
    Yo consegui correr una aplicacion de Unity en background, creando servicios nativos de android
     
  4. jipsen

    jipsen

    Joined:
    May 22, 2018
    Posts:
    37
    Can you share the code?
     
  5. astechnolabs

    astechnolabs

    Joined:
    Jul 11, 2021
    Posts:
    20
    ¿Puedes compartir el código?