Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

417
Views
How do I restart the scene that I'm currently in, through script in unity 2d so that it resets my sprites?

I'm trying to find a script for unity 2d. I need one that restarts the scene I've currently loaded. I've tried a couple from the internet, but none of them seem to work. I just need the basic script, not any way to trigger it because I can do that myself. Thanks in advance!

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I would recommend you to go through the SceneManager class in Unity Docs.

However, you can use this line to reload the current scene thus, restarting it:

SceneManager.LoadScene(SceneManager.GetActiveScene());

Hope that answers your questions.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!