- Home /
cursor.visible(false) not working on android TV
I am building an Android TV app and I want to make my cursor invisible when the app starts.
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class Cursor_Visibility : MonoBehaviour { // Start is called before the first frame update void Start() { Cursor.visible = false; Cursor.lockState = CursorLockMode.Locked; }
// Update is called once per frame
void Update()
{
}
}
This code isn't working. How can I solve this?
Answer by karthikdani14 · Aug 02, 2020 at 02:38 PM
Is the Cursor working by default with the TV remote arrow keys?? (Without any special script for Cursor to move)
Your answer
![](https://koobas.hobune.stream/wayback/20220612195406im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to use the cursor.visible 1 Answer
TextArea with Custom Image has no flashing indicator 0 Answers
Caret Position in InputField for android device 0 Answers
Mouse input on Samsung Smart TV 0 Answers
Is it allowed to use Admob on Android TV and Apple TV? On internet there are many confusing answers 0 Answers