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

Question Change Screen RefreshRate in Unity "Not TargetFrameRate"

Discussion in 'Editor & General Support' started by MohamedTun, Jul 28, 2023.

  1. MohamedTun

    MohamedTun

    Joined:
    May 13, 2021
    Posts:
    21
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,563
    There are various ways to interoperate with Android properties from Unity C#.

    Some classes to investigate are AndroidJavaObject and AndroidJavaClass

    Start with tutorials for using these because the knowledge for doing the specific thing you want will come from google android docs like the link above. but packaging it up with the above helpers is going to be Unity-side.
     
  3. MohamedTun

    MohamedTun

    Joined:
    May 13, 2021
    Posts:
    21
    The problem that I can't find guides or anyone tried to make something similar and this kinda new to me and I don't have alot of time to dive deeper
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,563
    Native integration by its nature takes time.

    Good luck!