Search Unity

Input.GetKey iPhone replacement?

Discussion in 'Scripting' started by TheChronicPhenix, Dec 6, 2010.

  1. TheChronicPhenix

    TheChronicPhenix

    Joined:
    Jan 14, 2010
    Posts:
    874
    So I use Input.GetKey to get if I'm holding a key down (if I'm holding the key down my guy continues to fly up which is what I want). I've been looking around but I've not been able to find a way to do that on the iphone when pressing a guiTexture. Any help would be much appreciated, Thanks!