Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - play-i

Pages: [1]
1
Support / Re: tk2dUITextInput onTextChange() not firing on iOS
« on: April 30, 2014, 06:33:05 pm »
bingo! thanks.

2
Support / tk2dUITextInput onTextChange() not firing on iOS
« on: April 29, 2014, 11:50:59 pm »
howdy -

I have a tk2dUITextInput wired up with a Target and a Method recipient for OnTextChange(),
and it's working great in the Unity Player, but the event never triggers when it's on an actual iOS device.
Even when I hit "return" and the keyboard is dismissed, still no event.
(I haven't tried the iOS simulator, and the device is 7.1.1)

thoughts ?

thanks,
Orion

3
hey - thanks for the reply.
I voted for the trello card. Meanwhile if our need is strong enough I'll try patching it in myself.
cheers,
Orion

4
I tried adding an UpdateTouch() method, but it doesn't seem to be be getting fired (either in Unity or on iOS simulator).
The class is structured like this:

Code: [Select]
public class KeyboardButton : tk2dUIBaseItemControl {
...
public void UpdateTouch(tk2dUITouch touch) {
Debug.Log("touch");
}
...
}

I guess an approach could be to go through tk2dUIManager:CheckInputs() and track an additional item called "enteredUIItem" or similar,
and a bool in tk2dUIItem called "isEntered", etc.  Would need to modify CurrentOverUIItem() as well. Seems like a fair bit of patching.

5
Support / UI - how to get an event for a touch moving into a widget ?
« on: April 21, 2014, 05:08:00 pm »
Hi -

unity & 2dtk noob here, so apologies if this is covered ground.

I'd like to be able to get an event on a button when a touch that is already down moves into the button.

Eg: touch down in empty space, then slide into the button.
Another example would be touching down in the button (we get OnDownUIItem), then slide out into empty space (we get OnUpUIItem), then slide back in (we get nothing).

Without this, it's impossible to build say a piano keyboard UI which allows the user to do a glissando.

These events would maybe be named "OnEnter" and "OnExit" or something.

this may be similar to this post: http://2dtoolkit.com/forum/index.php/topic,3515.msg16836.html .

cheers,
Orion

6
Support / Re: How to get standard Input touches for UIItem's?
« on: April 21, 2014, 05:00:48 pm »
any word on this ?


Pages: [1]