Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Change simple options in android using unity application

Discussion in 'Scripting' started by Uryathel, Oct 21, 2016.

  1. Uryathel

    Uryathel

    Joined:
    Jul 23, 2016
    Posts:
    35
    Hello there, I want to make my life easier adding some simple options for my phone using unity application.
    I need some tips which can help me make functions like:

    >choose hours and days (e.g monay, 8:00 - 14:00) and at this time mute my phone (mute multimedia, ringtone and alarm clock), when it's 14:01 unmute my phone

    >choose hour (e.g 21:00 - 6:00) and at this time change brightness my phone to the lowest, when it's 6:01 change my phone brightness to half

    >this application should work in "background"
     
  2. Piflik

    Piflik

    Joined:
    Sep 11, 2011
    Posts:
    291
    As far as I know, Unity does not have access to such low-level functionalities. Also, if it does have access, it is way overkill for that.