- Home /
Question by
Daniel-Talis · Sep 30, 2017 at 12:42 AM ·
function
Activate UI Input Field using OnTriggerEnter
function OnTriggerEnter (object : Collider){
if(object.CompareTag("Player")){
//Debug.Log("I'm here!!");
lInputField.Select();
lInputField.ActivateInputField();
}
}
I'm trying to activate a UI Input field by entering an OnTriggerEnter area. I want it turned off until the Player is in the area. Is this possible.? Using JS.
Comment
Answer by igor342 · Nov 11, 2020 at 11:23 PM
i think it is the L in front of the InputField you can try but yeah idk