Game Development Reference
In-Depth Information
The iOS/Mobile-only nodes
Unreal Engine is a cross-platform engine, which means that you write one block of code
and then deploy it to several platforms, but not all nodes are made as general nodes to be
used with all platforms. But there are a few nodes that are platform-specific, or in other
words are nodes that can be run and executed successfully only on specific platforms:
Input Touch : This is one of the functions/events that get executed automatically.
Whenever the player touches his screen, this function will return the finger index
and the touch coordinates. With this returned information, you can do all of the in-
put magic that can be done for a touch screen device.
You have two choices when the player touches: either execute the rest of the code
when the touch starts, or when it is released.
Event Begin Input Touch : This is an event by actor, which means it gets executed
when the actor holding the node in its graph gets touched while click events are en-
abled.
Event End Input Touch : This is an event by actor, which means it gets executed
when the actor holding it in its graph gets touch ended while click events are en-
abled.
Event Touch Enter : This is an event by actor, which means it gets executed when
the actor holding it in its graph gets a touch moved over it while click events are
enabled.
Search WWH ::




Custom Search