Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 17th, 2018
77
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.28 KB
| None
|
0
0
raw
download
clone
embed
print
report
void Update() {
if(Input.touchcount == 1)
{
Touch touch = Input.GetTouch(0);
if(touch.phase == TouchPhase.Began)
{
//Move
}
else if(touch.phase == TouchPhase.Stationary)
{
//Move
}
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 2 min ago | 0.38 KB
final project
C++ | 25 min ago | 4.85 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 42 min ago | 0.39 KB
RFID Scanner rev_03
Arduino | 50 min ago | 1.93 KB
3 LEDs, different speed
C++ | 53 min ago | 0.54 KB
data921
JSON | 55 min ago | 0.64 KB
RFID Scanner rev_02
Arduino | 58 min ago | 1.93 KB
RFID Reader rev_01
Arduino | 60 min ago | 1.97 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!