Forum Discussion
matt_sia
7 years agoHonored Guest
Weird Green Textbox in Unity UI Input Field for Oculus Go
Hey all, I am experiencing a weird bug that I cannot seem to find the solution to. In my Unity project, when I click an input field with the Oculus Go controller, a rectangular green textbox shows ...
lostsomfan
7 years agoProtege
yunhan0 said:
I solved this issue by writing a class inherits from the input field. So remove the default InputField component and attach the MobileInput. Don't forget to assign some properties such as TextComponent and Placeholder inside the new MobileInput Component.using UnityEngine;
using UnityEngine.UI;
public class MobileInput : InputField
{
protected override void Start()
{
keyboardType = (TouchScreenKeyboardType)(-1);
base.Start();
}
}
this bugs out when using more than one inputfield :(
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 4 years ago
- 1 year ago
- 3 years ago
- 2 years ago