Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Bizarre behaviour with Touch Inputs

$
0
0
Hey everyone!
I am somewhat new to Unity and I am currently struggling with the implementation of touch screen controls for my camera which already is working fine with mouse inputs.
To test what is going on, I wrote a very simple script and attached it to my camera:
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class TouchinputTest : MonoBehaviour
  5. {
  6.     void Start ()
  7.     {
  8.         if(Input.multiTouchEnabled)
  9.         {
  10.             // this happens in the editor, but not in...
Bizarre behaviour with Touch Inputs

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>