- Home /
Question by
Wolfshadow · May 07, 2017 at 02:14 AM ·
c#inputstringif-statementsonmouseover
imeCompositionmode
Hello fellows,
I am using imecompositionmode unity api and I am not sure how to use it. I want to be able to click on a gameobject, then get prompted to enter data until the gameobject is clicked off of. so far I have:
void OnMouseOver ()
{
Debug.Log (PlayerNumber);
if (Input.GetMouseButtonDown (1))
{
playerName =( Input.imeCompositionMode = IMECompositionMode.On);
}
}
but apparently, imecompositionmode cannot be converted to a string. Anyone know how to use it? Thanks!
Comment
Your answer
Follow this Question
Related Questions
Illuminating a 3D object's edges OnMouseOver (script in c#)? 1 Answer
Gui list and color 0 Answers
Multiple Cars not working 1 Answer
How do I make a key activate only when another key is pressed 2 Answers
Getting the text from UIInput 1 Answer