Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Stop TV's suspend sleep

Discussion in 'Samsung Smart TV' started by AtwoodYen, Oct 20, 2014.

  1. AtwoodYen

    AtwoodYen

    Joined:
    Aug 13, 2014
    Posts:
    7
    Dear Friend..

    I am the new beginner about Unity and Samsung smart TV, just output my game to the TV yesterday, and I meet a problem when I try my game on TV, It will suspend to sleep mode few minute after I didn't press any key. How can I stop the TV suspend in Unity ?
     
  2. naoe94

    naoe94

    Joined:
    Sep 1, 2014
    Posts:
    4
    Dear AtwoodYen,
    It's very strange. As I guess you already checked sleep timer and off timer on the menu > system > time.
    Can you let me know more detaily about sleep mode on your TV? show black screen? no feedback with pressing remote button? is the power off?
     
  3. AtwoodYen

    AtwoodYen

    Joined:
    Aug 13, 2014
    Posts:
    7
    Yes, I turn off the timer already, and this situation didn't happen every time.
    And it's show black screen.

    The Samsung Taiwan branch's friends come visit us today, and he say maybe is TV's problem, so he will offer us another TV for develop. I will try again after we receive the new TV.

    By the way, Can we adjust the TV's volume while Unity APP running ?

    And where can I get the fully key-code mapping info about the remote controller ? right now I gust get the arrow key using Input.Getkey() with "up","down","left","right".

    Sorry again for we not familiar with Unity, because we just learning from summer.

    Thank you for your help !
     
  4. naoe94

    naoe94

    Joined:
    Sep 1, 2014
    Posts:
    4
    There is no way to control TV's volume in the game. And you can use 4-way, ok, return button in the game.

    OK(Enter) - Input.GetKeyDown (KeyCode.Return)
    Down - Input.GetKeyDown (KeyCode.DownArrow)
    Up - Input.GetKeyDown (KeyCode.UpArrow)
    Right - Input.GetKeyDown (KeyCode.RightArrow)
    Left - Input.GetKeyDown (KeyCode.LeftArrow)
    Return - Input.GetKeyDown (KeyCode.Escape)
     
  5. AtwoodYen

    AtwoodYen

    Joined:
    Aug 13, 2014
    Posts:
    7
    Thanks !!

    And the volume adjust is ok on the new TV we received today...ha!
     
unityunity