- Home /
Question by
gokhansahiner98 · Aug 09, 2020 at 09:51 PM ·
unity 5functionbackground
Function rerun when turning back on from the background
Hi Firstly, I am sorry for my bad english. There is a function running when the game is opened. when i exit the application and enter again while working in the background I want this function to work again. I hope you understand what I mean. how can I do that
public void game()
{
DateTime nowdate = DateTime.Now;
TimeSpan Minute= lastdate - nowdate;
tosecont(Minute);
}
Comment