I’m developing on Android and I have the Pro version. When I touch the Play button in my first scene there is a 2 second delay before the second scene loads. Does anyone know why I’m getting this delay? I have a feeling my script might not be set up right. Is there a more effecient way to create a button with a GUI Texture? I’ve noticed on other games that the button reaction time is much faster than any of my buttons. An suggestions? thanx
here’s my button script:
function Update(){
if(Input.touchCount > 0){
var touch: Touch = Input.touches[0];
if(touch.phase == TouchPhase.Began && guiTexture.HitTest(touch.position)){
Application.LoadLevel("sk6");
var underGUI : GUITexture;
underGUI = GetComponent(GUITexture);
underGUI.enabled = false;
}
}
}